Skip to content

Commit 1133460

Browse files
committed
PR feedback
1 parent 7be100f commit 1133460

File tree

3 files changed

+1
-9
lines changed

3 files changed

+1
-9
lines changed

enginetest/enginetests.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5480,9 +5480,7 @@ func TestAlterTable(t *testing.T, harness Harness) {
54805480
},
54815481
}, checks)
54825482
})
5483-
}
54845483

5485-
func TestAlterTableScripts(t *testing.T, harness Harness) {
54865484
for _, script := range queries.AlterTableScripts {
54875485
TestScript(t, harness, script)
54885486
}

enginetest/memory_engine_test.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -838,10 +838,6 @@ func TestAlterTable(t *testing.T) {
838838
enginetest.TestAlterTable(t, enginetest.NewDefaultMemoryHarness())
839839
}
840840

841-
func TestAlterTableScripts(t *testing.T) {
842-
enginetest.TestAlterTableScripts(t, enginetest.NewDefaultMemoryHarness())
843-
}
844-
845841
func TestDateParse(t *testing.T) {
846842
enginetest.TestDateParse(t, enginetest.NewDefaultMemoryHarness())
847843
}

enginetest/queries/alter_table_queries.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,8 @@ import (
2323

2424
var AlterTableScripts = []ScriptTest{
2525
{
26+
// This script relies on setup.Pk_tablesData
2627
Name: "Error queries",
27-
SetUpScript: []string{
28-
"create table one_pk_two_idx (pk bigint primary key, v1 bigint, v2 bigint, index idx1 (v1), index idx2 (v2));",
29-
},
3028
Assertions: []ScriptTestAssertion{
3129
{
3230
Query: "ALTER TABLE one_pk_two_idx MODIFY COLUMN v1 BIGINT DEFAULT (pk) AFTER v3",

0 commit comments

Comments
 (0)