Skip to content

Commit

Permalink
missed some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
James Cor committed Feb 6, 2025
1 parent 738f6e9 commit fc07e1f
Showing 1 changed file with 28 additions and 28 deletions.
56 changes: 28 additions & 28 deletions enginetest/queries/procedure_queries.go
Original file line number Diff line number Diff line change
Expand Up @@ -1929,34 +1929,34 @@ END;`,
Query: "SHOW PROCEDURE STATUS LIKE 'stable'",
SkipResultsCheck: true, // ensure that there's no error
},
//{
// Query: "SHOW PROCEDURE STATUS LIKE 'fragile'",
// SkipResultsCheck: true, // ensure that there's no error
//},
//{
// Query: "ALTER TABLE t ADD COLUMN other INT",
// Expected: []sql.Row{{types.NewOkResult(0)}},
//},
//{
// Query: "CALL stable();",
// Expected: []sql.Row{{1}, {2}, {3}},
//},
//{
// Query: "CALL fragile();",
// Expected: []sql.Row{{nil}, {nil}, {nil}},
//},
//{
// Query: "INSERT INTO t VALUES (4, 4), (5, 5), (6, 6);",
// Expected: []sql.Row{{types.NewOkResult(3)}},
//},
//{
// Query: "CALL stable();",
// Expected: []sql.Row{{1}, {2}, {3}, {4}, {5}, {6}},
//},
//{
// Query: "CALL fragile();",
// Expected: []sql.Row{{nil}, {nil}, {nil}, {4}, {5}, {6}},
//},
{
Query: "SHOW PROCEDURE STATUS LIKE 'fragile'",
SkipResultsCheck: true, // ensure that there's no error
},
{
Query: "ALTER TABLE t ADD COLUMN other INT",
Expected: []sql.Row{{types.NewOkResult(0)}},
},
{
Query: "CALL stable();",
Expected: []sql.Row{{1}, {2}, {3}},
},
{
Query: "CALL fragile();",
Expected: []sql.Row{{nil}, {nil}, {nil}},
},
{
Query: "INSERT INTO t VALUES (4, 4), (5, 5), (6, 6);",
Expected: []sql.Row{{types.NewOkResult(3)}},
},
{
Query: "CALL stable();",
Expected: []sql.Row{{1}, {2}, {3}, {4}, {5}, {6}},
},
{
Query: "CALL fragile();",
Expected: []sql.Row{{nil}, {nil}, {nil}, {4}, {5}, {6}},
},
},
},
{
Expand Down

0 comments on commit fc07e1f

Please sign in to comment.