fix: init problem

This commit is contained in:
Liu Jicong 2021-08-19 10:42:28 +08:00
parent d453be0785
commit 22d3dda4b5
1 changed files with 1 additions and 1 deletions

View File

@ -1290,7 +1290,7 @@ static void *tsdbDecodeTable(void *buf, STable **pRTable) {
buf = taosDecodeFixedU64(buf, &TABLE_SUID(pTable));
buf = tdDecodeKVRow(buf, &(pTable->tagVal));
} else {
uint32_t nSchemas;
uint32_t nSchemas = 0;
buf = taosDecodeFixedU8(buf, (uint8_t *)&nSchemas);
if(nSchemas == 0) {
buf = taosDecodeFixedU32(buf, &nSchemas);