This commit is contained in:
cpwu 2022-05-25 13:12:57 +08:00
parent a87442d265
commit b9f86cb637
1 changed files with 2 additions and 1 deletions

View File

@ -57,7 +57,7 @@ class TDTestCase:
f"sqrt( {tbname}.{num_col} )",
f"tan( {tbname}.{num_col} )",
f"cast( {tbname}.{num_col} as timestamp)",
[ f"{num_col} + {any_col}" for any_col in ALL_COL ]
( f"{num_col} + {any_col}" for any_col in ALL_COL ])
)
)
for char_col in CHAR_COL:
@ -204,6 +204,7 @@ class TDTestCase:
tdSql.error( "select c1 from ct1 union all drop table ct3" )
tdSql.error( "select c1 from ct1 union all '' " )
tdSql.error( " '' union all select c1 from ct1 " )
tdSql.error( " '' union all select c1 from ct1 " )
# tdSql.error( "select c1 from ct1 union select c1 from ct2 union select c1 from ct4 ")
def all_test(self):