提交 7e06a70e 编写于 作者: P Ping Xiao

test: add test case for TS-1577

上级 1cfed362
...@@ -69,6 +69,16 @@ class TDTestCase: ...@@ -69,6 +69,16 @@ class TDTestCase:
tdSql.error("select * from dev_001 where 'name' is not null") tdSql.error("select * from dev_001 where 'name' is not null")
tdSql.error("select * from dev_001 where \"name\" = 'first'") tdSql.error("select * from dev_001 where \"name\" = 'first'")
# TS-1577
tdSql.query("show databases")
rows = tdSql.queryRows
for i in range(1000):
tdSql.execute("create database test%d" % i)
tdSql.query("show databases")
tdSql.checkRows(rows + 1000)
def stop(self): def stop(self):
tdSql.close() tdSql.close()
tdLog.success("%s successfully executed" % __file__) tdLog.success("%s successfully executed" % __file__)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册