Skip to content

Commit 5a60e1b

Browse files
committed
fix alter table test
1 parent 49152d3 commit 5a60e1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

enginetest/queries/alter_table_queries.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1051,13 +1051,13 @@ var AlterTableScripts = []ScriptTest{
10511051
Name: "alter table supports non-escaped \\Z",
10521052
SetUpScript: []string{
10531053
"create table t (i int);",
1054-
`alter table t modify column i int comment "ctrlz \\Z \\Z"`,
1054+
`alter table t modify column i int comment "ctrlz \Z \\Z"`,
10551055
},
10561056
Assertions: []ScriptTestAssertion{
10571057
{
10581058
Query: "show create table t",
10591059
Expected: []sql.Row{{"t", "CREATE TABLE `t` (\n" +
1060-
" `i` int COMMENT 'ctrlz \\Z \\Z'\n" +
1060+
" `i` int COMMENT 'ctrlz \x1A \\\\Z'\n" +
10611061
") ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_bin"}},
10621062
},
10631063
},

0 commit comments

Comments
 (0)