test: update the test case.
This commit is contained in:
parent
f20afb7304
commit
4b961753a5
|
@ -659,9 +659,9 @@ endi
|
||||||
|
|
||||||
print =============== error
|
print =============== error
|
||||||
sql create table tb2023(ts timestamp, f int);
|
sql create table tb2023(ts timestamp, f int);
|
||||||
sql_error alter table tb2023 add column v varchar(16375);
|
sql_error alter table tb2023 add column v varchar(65535);
|
||||||
sql_error alter table tb2023 add column v varchar(16385);
|
sql_error alter table tb2023 add column v varchar(65535);
|
||||||
sql_error alter table tb2023 add column v varchar(33100);
|
sql_error alter table tb2023 add column v varchar(65530);
|
||||||
sql alter table tb2023 add column v varchar(16374);
|
sql alter table tb2023 add column v varchar(16374);
|
||||||
sql desc tb2023
|
sql desc tb2023
|
||||||
sql alter table tb2023 drop column v
|
sql alter table tb2023 drop column v
|
||||||
|
|
|
@ -989,7 +989,7 @@ int sml_ts2164_Test() {
|
||||||
TAOS *taos = taos_connect("localhost", "root", "taosdata", NULL, 0);
|
TAOS *taos = taos_connect("localhost", "root", "taosdata", NULL, 0);
|
||||||
|
|
||||||
TAOS_RES *pRes =
|
TAOS_RES *pRes =
|
||||||
taos_query(taos, "CREATE DATABASE IF NOT EXISTS line_test BUFFER 384 MINROWS 1000 PAGES 256 PRECISION 'ns'");
|
taos_query(taos, "CREATE DATABASE IF NOT EXISTS line_test MINROWS 1000 PRECISION 'ns'");
|
||||||
taos_free_result(pRes);
|
taos_free_result(pRes);
|
||||||
|
|
||||||
const char *sql[] = {
|
const char *sql[] = {
|
||||||
|
@ -1385,8 +1385,8 @@ int main(int argc, char *argv[]) {
|
||||||
ASSERT(!ret);
|
ASSERT(!ret);
|
||||||
ret = sml_ts3116_Test();
|
ret = sml_ts3116_Test();
|
||||||
ASSERT(!ret);
|
ASSERT(!ret);
|
||||||
ret = sml_ts2385_Test(); // this test case need config sml table name using ./sml_test config_file
|
// ret = sml_ts2385_Test(); // this test case need config sml table name using ./sml_test config_file
|
||||||
ASSERT(!ret);
|
// ASSERT(!ret);
|
||||||
ret = sml_ts3303_Test(); // this test case need config sml table name using ./sml_test config_file
|
ret = sml_ts3303_Test(); // this test case need config sml table name using ./sml_test config_file
|
||||||
ASSERT(!ret);
|
ASSERT(!ret);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue