-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Labels
Description
canal.valueExpr can't work
ALTER TABLE `sometable` MODIFY COLUMN `some_col` varchar(1024) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '' COMMENT 'comments' AFTER `other_col`
become
ALTER TABLE `sometable` MODIFY COLUMN `some_col` VARCHAR(1024) CHARACTER SET UTF8 COLLATE utf8_bin NOT NULL DEFAULT COMMENT AFTER `other_col`
after (*ast.AlterTableStmt).Restore(ctx *format.RestoreCtx), default value and comment value lost
change "github.com/pingcap/parser" test_driver to public or copy the implements to canal?