diff --git a/regression-test/suites/table-schema-change/test_add_agg_column.groovy b/regression-test/suites/table-schema-change/test_add_agg_column.groovy index f90e3ff4..182ff9a0 100644 --- a/regression-test/suites/table-schema-change/test_add_agg_column.groovy +++ b/regression-test/suites/table-schema-change/test_add_agg_column.groovy @@ -168,7 +168,7 @@ suite("test_add_agg_column") { // } sql """ ALTER TABLE ${tableName} - ADD COLUMN `first` INT KEY DEFAULT 0 FIRST + ADD COLUMN `first` INT KEY DEFAULT "0" FIRST """ sql "sync" @@ -199,7 +199,7 @@ suite("test_add_agg_column") { // } sql """ ALTER TABLE ${tableName} - ADD COLUMN `last` INT KEY DEFAULT 0 AFTER `id` + ADD COLUMN `last` INT KEY DEFAULT "0" AFTER `id` """ sql "sync" @@ -231,7 +231,7 @@ suite("test_add_agg_column") { // } sql """ ALTER TABLE ${tableName} - ADD COLUMN `first_value` INT SUM DEFAULT 0 AFTER `last` + ADD COLUMN `first_value` INT SUM DEFAULT "0" AFTER `last` """ sql "sync" @@ -263,7 +263,7 @@ suite("test_add_agg_column") { // } sql """ ALTER TABLE ${tableName} - ADD COLUMN `last_value` INT SUM DEFAULT 0 AFTER `value` + ADD COLUMN `last_value` INT SUM DEFAULT "0" AFTER `value` """ sql "sync" diff --git a/regression-test/suites/table-schema-change/test_add_column.groovy b/regression-test/suites/table-schema-change/test_add_column.groovy index 01634d6c..b9b216d3 100644 --- a/regression-test/suites/table-schema-change/test_add_column.groovy +++ b/regression-test/suites/table-schema-change/test_add_column.groovy @@ -205,7 +205,7 @@ suite("test_add_column") { // } sql """ ALTER TABLE ${tableName} - ADD COLUMN `first` INT KEY DEFAULT 0 FIRST + ADD COLUMN `first` INT KEY DEFAULT "0" FIRST """ sql "sync" @@ -236,7 +236,7 @@ suite("test_add_column") { // } sql """ ALTER TABLE ${tableName} - ADD COLUMN `last` INT KEY DEFAULT 0 AFTER `id` + ADD COLUMN `last` INT KEY DEFAULT "0" AFTER `id` """ sql "sync" @@ -268,7 +268,7 @@ suite("test_add_column") { // } sql """ ALTER TABLE ${tableName} - ADD COLUMN `first_value` INT DEFAULT 0 AFTER `last` + ADD COLUMN `first_value` INT DEFAULT "0" AFTER `last` """ sql "sync" @@ -300,7 +300,7 @@ suite("test_add_column") { // } sql """ ALTER TABLE ${tableName} - ADD COLUMN `last_value` INT DEFAULT 0 AFTER `value` + ADD COLUMN `last_value` INT DEFAULT "0" AFTER `value` """ sql "sync" diff --git a/regression-test/suites/table-schema-change/test_add_many_column.groovy b/regression-test/suites/table-schema-change/test_add_many_column.groovy index e9adbc8d..3d946f39 100644 --- a/regression-test/suites/table-schema-change/test_add_many_column.groovy +++ b/regression-test/suites/table-schema-change/test_add_many_column.groovy @@ -162,7 +162,7 @@ suite("test_add_many_column") { // } sql """ ALTER TABLE ${tableName} - ADD COLUMN (`last_key` INT KEY DEFAULT 0, `last_value` INT DEFAULT 0) + ADD COLUMN (`last_key` INT KEY DEFAULT "0", `last_value` INT DEFAULT "0") """ sql "sync"