Modify a wrong commit

This commit is contained in:
slguan 2019-12-07 17:04:21 +08:00
parent 02e39aab35
commit e958793d14
1 changed files with 1 additions and 1 deletions

View File

@ -364,7 +364,7 @@ int64_t sdbInsertRow(void *handle, void *row, int rowSize) {
return -1; return -1;
} }
if ((pTable->keyType != SDB_KEYTYPE_AUTO) || *((int32_t *)row)) if ((pTable->keyType != SDB_KEYTYPE_AUTO) || *((int64_t *)row))
if (sdbGetRow(handle, row)) { if (sdbGetRow(handle, row)) {
if (strcmp(pTable->name, "mnode") == 0) { if (strcmp(pTable->name, "mnode") == 0) {
/* /*