File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1259,7 +1259,7 @@ TEST(FunctionSchema) {
12591259 TEST_PARSE_SQL_QUERY (
12601260 " SELECT sys.uuid();"
12611261 " SELECT json.isarray('[1, 2, 3]');"
1262- result, 1 );
1262+ result, 2 );
12631263
12641264 auto stmt = (SelectStatement*)result.getStatement (0 );
12651265 ASSERT_TRUE (stmt->selectList );
@@ -1268,7 +1268,7 @@ TEST(FunctionSchema) {
12681268 ASSERT_STREQ (stmt->selectList ->at (0 )->name , " uuid" );
12691269 ASSERT_EQ (stmt->selectList ->at (0 )->exprList ->size , 0 );
12701270
1271- auto stmt = (SelectStatement*)result.getStatement (1 );
1271+ stmt = (SelectStatement*)result.getStatement (1 );
12721272 ASSERT_TRUE (stmt->selectList );
12731273 ASSERT_EQ (stmt->selectList ->size (), 1 );
12741274 ASSERT_STREQ (stmt->selectList ->at (0 )->schema , " json" );
You can’t perform that action at this time.
0 commit comments