File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff 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.
204204func 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 },
You can’t perform that action at this time.
0 commit comments