diff --git a/tests/pytest/query/queryError.py b/tests/pytest/query/queryError.py index e5c468600ba56a251057f204971084fe2844a85e..7d752a9863312e42e303e5db34e18ad740bc5a19 100644 --- a/tests/pytest/query/queryError.py +++ b/tests/pytest/query/queryError.py @@ -68,6 +68,16 @@ class TDTestCase: # TD-6006 tdSql.error("select * from dev_001 where 'name' is not null") 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): tdSql.close()