提交 ba733f15 编写于 作者: wmmhello's avatar wmmhello

add test case

上级 c46259b6
...@@ -175,20 +175,20 @@ class TDTestCase: ...@@ -175,20 +175,20 @@ class TDTestCase:
tdSql.error("CREATE TABLE if not exists db_json_tag_test.jsons1_5 using db_json_tag_test.jsons1 tags('efwewf')") tdSql.error("CREATE TABLE if not exists db_json_tag_test.jsons1_5 using db_json_tag_test.jsons1 tags('efwewf')")
tdSql.error("CREATE TABLE if not exists db_json_tag_test.jsons1_5 using db_json_tag_test.jsons1 tags('\t')") tdSql.error("CREATE TABLE if not exists db_json_tag_test.jsons1_5 using db_json_tag_test.jsons1 tags('\t')")
tdSql.execute("CREATE TABLE if not exists db_json_tag_test.jsons1_6 using db_json_tag_test.jsons1 tags('')") tdSql.execute("CREATE TABLE if not exists db_json_tag_test.jsons1_6 using db_json_tag_test.jsons1 tags('')")
#tdSql.query("select jtag from db_json_tag_test.jsons1_6") tdSql.query("select jtag from db_json_tag_test.jsons1_6")
#tdSql.checkData(0, 0, "NULL") tdSql.checkData(0, 0, "")
tdSql.execute("CREATE TABLE if not exists db_json_tag_test.jsons1_7 using db_json_tag_test.jsons1 tags('{}')") tdSql.execute("CREATE TABLE if not exists db_json_tag_test.jsons1_7 using db_json_tag_test.jsons1 tags('{}')")
#tdSql.query("select jtag from db_json_tag_test.jsons1_7") tdSql.query("select jtag from db_json_tag_test.jsons1_7")
#tdSql.checkData(0, 0, "NULL") tdSql.checkData(0, 0, "")
tdSql.execute("CREATE TABLE if not exists db_json_tag_test.jsons1_8 using db_json_tag_test.jsons1 tags('null')") tdSql.execute("CREATE TABLE if not exists db_json_tag_test.jsons1_8 using db_json_tag_test.jsons1 tags('null')")
#tdSql.query("select jtag from db_json_tag_test.jsons1_8") tdSql.query("select jtag from db_json_tag_test.jsons1_8")
#tdSql.checkData(0, 0, "NULL") tdSql.checkData(0, 0, "")
tdSql.execute("CREATE TABLE if not exists db_json_tag_test.jsons1_9 using db_json_tag_test.jsons1 tags('{\"\":4, \"time\":null}')") tdSql.execute("CREATE TABLE if not exists db_json_tag_test.jsons1_9 using db_json_tag_test.jsons1 tags('{\"\":4, \"time\":null}')")
#tdSql.query("select jtag from db_json_tag_test.jsons1_9") tdSql.query("select jtag from db_json_tag_test.jsons1_9")
#tdSql.checkData(0, 0, "NULL") tdSql.checkData(0, 0, "")
tdSql.execute("CREATE TABLE if not exists db_json_tag_test.jsons1_10 using db_json_tag_test.jsons1 tags('{\"k1\":\"\",\"k1\":\"v1\",\"k2\":true,\"k3\":false,\"k4\":55}')") tdSql.execute("CREATE TABLE if not exists db_json_tag_test.jsons1_10 using db_json_tag_test.jsons1 tags('{\"k1\":\"\",\"k1\":\"v1\",\"k2\":true,\"k3\":false,\"k4\":55}')")
tdSql.query("select jtag from db_json_tag_test.jsons1_10") tdSql.query("select jtag from db_json_tag_test.jsons1_10")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册