add use db

This commit is contained in:
menshibin 2024-01-21 18:38:25 +08:00
parent 69e9866d72
commit 53b385108c
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ class TDTestCase(TBase):
tdSql.prepare()
autoGen = AutoGen()
autoGen.create_db(self.db, 2, 3)
tdSql.execute(f"use {self.db}")
autoGen.create_stable(self.stb, 5, 10, 8, 8)
autoGen.create_child(self.stb, "d", self.childtable_count)
autoGen.insert_data(1000)