fix table/column_num.py coredump
This commit is contained in:
parent
0be65a23c6
commit
85c9508fb7
|
@ -406,7 +406,7 @@ int tsdbCreateTable(TsdbRepoT *repo, STableCfg *pCfg) {
|
|||
|
||||
// Write to meta file
|
||||
int bufLen = 0;
|
||||
char *buf = malloc(4096);
|
||||
char *buf = malloc(1024*1024);
|
||||
if (newSuper) {
|
||||
tsdbEncodeTable(super, buf, &bufLen);
|
||||
tsdbInsertMetaRecord(pMeta->mfh, super->tableId.uid, buf, bufLen);
|
||||
|
|
Loading…
Reference in New Issue