adding comments to alter_test.py

This commit is contained in:
bryanchang0603 2021-06-07 11:32:35 +08:00
parent cbb3b39e74
commit cd54930352
1 changed files with 3 additions and 0 deletions

View File

@ -158,6 +158,9 @@ class TDTestCase:
# tdSql.execute('alter database db keep 15,15,15') # tdSql.execute('alter database db keep 15,15,15')
# tdSql.query('show databases') # tdSql.query('show databases')
# tdSql.checkData(0,7,'15,15,15') # tdSql.checkData(0,7,'15,15,15')
# the following line should generate an error, but the insert was a success
# the time now-15d is out of range of now -10d
tdSql.execute('insert into tb values (now-15d, 10)') tdSql.execute('insert into tb values (now-15d, 10)')
tdSql.query('select * from tb') tdSql.query('select * from tb')
tdSql.checkRows(rowNum + 1) tdSql.checkRows(rowNum + 1)