From 792d19fbe772632e1ad2da4cb9e2180c0b5b6efc Mon Sep 17 00:00:00 2001 From: wangmm0220 Date: Fri, 13 Jan 2023 11:48:26 +0800 Subject: [PATCH] fix:table num in ins_tables --- tests/script/tsim/query/sys_tbname.sim | 2 +- utils/test/c/get_db_name_test.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/script/tsim/query/sys_tbname.sim b/tests/script/tsim/query/sys_tbname.sim index 045e908a57..9b16d98202 100644 --- a/tests/script/tsim/query/sys_tbname.sim +++ b/tests/script/tsim/query/sys_tbname.sim @@ -53,7 +53,7 @@ endi sql select tbname from information_schema.ins_tables; print $rows $data00 -if $rows != 32 then +if $rows != 33 then return -1 endi if $data00 != @ins_tables@ then diff --git a/utils/test/c/get_db_name_test.c b/utils/test/c/get_db_name_test.c index 4802ef25c3..ebbfdc84a7 100644 --- a/utils/test/c/get_db_name_test.c +++ b/utils/test/c/get_db_name_test.c @@ -25,7 +25,7 @@ int get_db_test() { TAOS *taos = taos_connect("localhost", "root", "taosdata", NULL, 0); - TAOS_RES *pRes = taos_query(taos, "create database if not exists sml_db"); + TAOS_RES *pRes = taos_query(taos, "create database if not exists sml_db vgroups 2"); taos_free_result(pRes); pRes = taos_query(taos, "use sml_db"); -- GitLab