* fix(tmq): add waitTransactionZeroWithTsql method to check for zero transactions after database creation
* fix(tests): update test cases for tmq snapshot and remove commented line
* fix(tmq): optimize waitTransactionZeroWithTsql method to use query instead of execute
* fix(tmq): update waitTransactionZeroWithTsql method to implement timeout and improve transaction checking logic
* fix(tmq): update database creation and transaction checking logic to use td_sql and improve error handling
* fix(tmq): refactor waitTransactionZeroWithTdsql to use query method for transaction checking
* fix(tmq): update logging format in createDb method and correct transaction checking function name
* fix(tmq): refactor waitTransactionZeroWithTdsql method for improved readability
* fix: typo
Signed-off-by: WANG Xu <feici02@outlook.com>
* fix(tmq): refactor database and table creation queries for improved readability and consistency
* Implement feature X to enhance user experience and optimize performance
* Implement feature X to enhance user experience and optimize performance
* fix: update SQL string construction to handle empty database parameters
* fix: ensure proper spacing in SQL string construction for database creation
* fix: add process check after stopping taosd to ensure proper shutdown
* fix: enhance process check after stopping taosd to ensure it terminates within a timeout
---------
Signed-off-by: WANG Xu <feici02@outlook.com>
Co-authored-by: WANG Xu <feici02@outlook.com>