File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -376,6 +376,15 @@ func TestCreateTable(t *testing.T) {
376376 },
377377 },
378378 },
379+ {
380+ Name : "create temporary table with serial column" ,
381+ Assertions : []ScriptTestAssertion {
382+ {
383+ Query : "CREATE TEMP TABLE temp (id serial primary key)" ,
384+ Expected : []sql.Row {},
385+ },
386+ },
387+ },
379388 })
380389}
381390
@@ -450,21 +459,3 @@ func TestCreateTableInherit(t *testing.T) {
450459 },
451460 })
452461}
453-
454- func TestCreateTemporaryTable (t * testing.T ) {
455- RunScripts (t , []ScriptTest {
456- {
457- Name : "Create temporary table with serial column" ,
458- Assertions : []ScriptTestAssertion {
459- {
460- Query : "CREATE TEMP TABLE temp (id serial primary key)" ,
461- Expected : []sql.Row {},
462- },
463- {
464- Query : "CREATE TEMP TABLE temp2 (id serial)" ,
465- Expected : []sql.Row {},
466- },
467- },
468- },
469- })
470- }
You can’t perform that action at this time.
0 commit comments