fix: test case printf

This commit is contained in:
slzhou 2023-09-14 13:27:43 +08:00
parent a15a41f396
commit 0a016b1d2e
2 changed files with 2 additions and 2 deletions

BIN
tests/script/api/whiteListTest Executable file

Binary file not shown.

View File

@ -51,7 +51,7 @@ void __taos_notify_cb(void *param, void *ext, int type) {
} }
case TAOS_NOTIFY_WHITELIST_VER: { case TAOS_NOTIFY_WHITELIST_VER: {
++nWhiteListVerNotified; ++nWhiteListVerNotified;
printf("%s:%d type:%d user:%s ver:%d\n", __func__, __LINE__, type, param ? (char *)param : "NULL", *(int64_t *)ext); printf("%s:%d type:%d user:%s ver:%"PRId64 "\n", __func__, __LINE__, type, param ? (char *)param : "NULL", *(int64_t *)ext);
break; break;
} }
default: default:
@ -118,7 +118,7 @@ int main(int argc, char *argv[]) {
} }
createUsers(taos, argv[1]); createUsers(taos, argv[1]);
sleep(10); sleep(1);
dropUsers(taos); dropUsers(taos);
taos_close(taos); taos_close(taos);