2010-11-03 22:40:53 +01:00
|
|
|
drop table if exists t1;
|
|
|
|
create table t1 (a int primary key) engine=innodb;
|
2020-01-09 13:38:48 +01:00
|
|
|
SET @saved_dbug = @@SESSION.debug_dbug;
|
2011-12-15 22:07:58 +01:00
|
|
|
SET SESSION debug_dbug="+d,warn_during_ha_commit_trans";
|
2010-11-03 22:40:53 +01:00
|
|
|
INSERT INTO t1 VALUES (1);
|
|
|
|
Warnings:
|
|
|
|
Warning 1196 Some non-transactional changed tables couldn't be rolled back
|
2020-05-02 13:19:53 +03:00
|
|
|
Warning 1196 Some non-transactional changed tables couldn't be rolled back
|
|
|
|
Warning 1196 Some non-transactional changed tables couldn't be rolled back
|
2010-11-03 22:40:53 +01:00
|
|
|
SHOW WARNINGS;
|
|
|
|
Level Code Message
|
|
|
|
Warning 1196 Some non-transactional changed tables couldn't be rolled back
|
2020-05-02 13:19:53 +03:00
|
|
|
Warning 1196 Some non-transactional changed tables couldn't be rolled back
|
|
|
|
Warning 1196 Some non-transactional changed tables couldn't be rolled back
|
2020-01-09 13:38:48 +01:00
|
|
|
SET debug_dbug= @saved_dbug;
|
2020-05-02 13:19:53 +03:00
|
|
|
drop table t1;
|