drop table if exists t1;
create table t1 (a int primary key) engine=innodb;
SET SESSION debug_dbug="+d,warn_during_ha_commit_trans";
INSERT INTO t1 VALUES (1);
Warnings:
Warning	1196	Some non-transactional changed tables couldn't be rolled back
SHOW WARNINGS;
Level	Code	Message
Warning	1196	Some non-transactional changed tables couldn't be rolled back
drop table t1;