提交 b9f86cb6 编写于 作者: C cpwu

fix case

上级 a87442d2
...@@ -57,7 +57,7 @@ class TDTestCase: ...@@ -57,7 +57,7 @@ class TDTestCase:
f"sqrt( {tbname}.{num_col} )", f"sqrt( {tbname}.{num_col} )",
f"tan( {tbname}.{num_col} )", f"tan( {tbname}.{num_col} )",
f"cast( {tbname}.{num_col} as timestamp)", 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: for char_col in CHAR_COL:
...@@ -204,6 +204,7 @@ class TDTestCase: ...@@ -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 drop table ct3" )
tdSql.error( "select c1 from ct1 union all '' " ) 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( " '' union all select c1 from ct1 " )
# tdSql.error( "select c1 from ct1 union select c1 from ct2 union select c1 from ct4 ") # tdSql.error( "select c1 from ct1 union select c1 from ct2 union select c1 from ct4 ")
def all_test(self): def all_test(self):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册