Skip to content

Commit a39f80b

Browse files
authored
Merge pull request #19866 from taosdata/case/TD-22241
test: add case double comma check in insert_drop.py
2 parents 9dc8946 + 82deedb commit a39f80b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/system-test/1-insert/insert_drop.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ def run(self):
3131
tdSql.execute('create database if not exists test;')
3232
tdSql.execute('create table test.stb (ts timestamp, c11 int, c12 float ) TAGS(t11 int, t12 int );')
3333
tdSql.execute('create table test.tb using test.stb TAGS (1, 1);')
34+
35+
# double comma insert check error
36+
tdSql.error("insert into test.tb(ts, c11) values(now,,100)")
37+
3438
sql_list = list()
3539
for i in range(5):
3640
sql = f'insert into test.tb values (now-{i}m, {i}, {i});'

0 commit comments

Comments
 (0)