Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何修改Inception_backup_information表的sql_statement字段设置成longtext #73

Open
apaul030515 opened this issue Jun 7, 2018 · 0 comments

Comments

@apaul030515
Copy link

使用inception进行大批量插入的时候,可以审核通过,并执行成功。
但在备份的时候,会报 Data too long for column 'sql_statement' at row 1,
是否可以改一下原始表的字段信息?
还是只能产生这个表之后,事后改动?

CREATE TABLE $_$Inception_backup_information$_$ (
opid_time varchar(50) NOT NULL,
start_binlog_file varchar(512) DEFAULT NULL,
start_binlog_pos int(11) DEFAULT NULL,
end_binlog_file varchar(512) DEFAULT NULL,
end_binlog_pos int(11) DEFAULT NULL,
sql_statement text,
host varchar(64) DEFAULT NULL,
dbname varchar(64) DEFAULT NULL,
tablename varchar(64) DEFAULT NULL,
port int(11) DEFAULT NULL,
time timestamp NULL DEFAULT NULL,
type varchar(20) DEFAULT NULL,
PRIMARY KEY (opid_time)
) ENGINE=InnoDB DEFAULT CHARSET=utf8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant