Skip to content

Commit 0706c5f

Browse files
committed
remove memory_engine_test changes
1 parent 5b482ea commit 0706c5f

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

enginetest/memory_engine_test.go

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -202,18 +202,20 @@ func TestSingleQueryPrepared(t *testing.T) {
202202

203203
// Convenience test for debugging a single query. Unskip and set to the desired query.
204204
func TestSingleScript(t *testing.T) {
205-
// t.Skip()
205+
t.Skip()
206206
var scripts = []queries.ScriptTest{
207207
{
208-
Name: "AS OF propagates to nested CALLs",
209-
SetUpScript: []string{
210-
`create table t (i int comment "single quote \' | newline \n | return \r | backslash \\ | NUL \0 \x00");`,
211-
//"create table t (pk int comment 'this, it''s the way to go')",
212-
//`create table t (pk int comment "\'")`,
213-
},
208+
Name: "AS OF propagates to nested CALLs",
209+
SetUpScript: []string{},
214210
Assertions: []queries.ScriptTestAssertion{
215211
{
216-
Query: "show create table t",
212+
Query: "create procedure create_proc() create table t (i int primary key, j int);",
213+
Expected: []sql.Row{
214+
{types.NewOkResult(0)},
215+
},
216+
},
217+
{
218+
Query: "call create_proc()",
217219
Expected: []sql.Row{
218220
{types.NewOkResult(0)},
219221
},

0 commit comments

Comments
 (0)