-
Notifications
You must be signed in to change notification settings - Fork 314
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
not support dml with trigger sql #14
Comments
can not flash original table |
给个表结构,和样例数据,以及使用的mysql版本 |
Server version: 5.7.27-log MySQL Community Server (GPL)
create database flash;use flash;
CREATE TABLE `a` (
`id` int(11) DEFAULT NULL
) ENGINE=InnoDB;
CREATE TABLE `b` (
`id` int(11) DEFAULT NULL
) ENGINE=InnoDB;
delimiter ;;
CREATE trigger t_test after delete on a for each row begin insert into b values(old.id) ; end;;
delimiter ;
INSERT INTO `a` VALUES (1),(2),(3);
reset master;
delete from a;
闪回命令:mysqlbinlog --base64-output=decode-rows -vv binlog_output_base.flashback
只能解析到b表的记录,a表的无法解析。
…------------------ 原始邮件 ------------------
发件人: "mark-neil-wang"<[email protected]>;
发送时间: 2021年1月21日(星期四) 下午4:34
收件人: "Meituan-Dianping/MyFlash"<[email protected]>;
抄送: "许天云"<[email protected]>; "Author"<[email protected]>;
主题: Re: [Meituan-Dianping/MyFlash] not support dml with trigger sql (#14)
给个表结构,和样例数据,以及使用的mysql版本
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: