+Warning 1196 Some non-transactional changed tables couldn't be rolled back
+Warning 1196 Some non-transactional changed tables couldn't be rolled back
Note 4094 At line 4 in mysqltest1.foo4
select * from t2;
select * from t2;
a
a
+20
+20
...
@@ -11,9 +14,9 @@
...
@@ -11,9 +14,9 @@
a
a
+20
+20
select * from mysql.proc where name="foo4" and db='mysqltest1';
select * from mysql.proc where name="foo4" and db='mysqltest1';
db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment character_set_client collation_connection db_collation body_utf8
db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment character_set_client collation_connection db_collation body_utf8 aggregate
mysqltest1 foo4 PROCEDURE foo4 SQL CONTAINS_SQL YES DEFINER begin
mysqltest1 foo4 PROCEDURE foo4 SQL CONTAINS_SQL YES DEFINER begin
@@ -170,20 +173,16 @@
@@ -171,20 +174,16 @@
insert into t2 values(fn1(21));
insert into t2 values(fn1(21));
select * from t1;
select * from t1;
a
a
...
@@ -34,10 +37,10 @@
...
@@ -34,10 +37,10 @@
select * from t2;
select * from t2;
a
a
23
23
@@ -290,13 +289,18 @@
@@ -292,13 +291,18 @@
do fn1(100);
Warnings:
Warnings:
Error 1062 Duplicate entry '100' for key 'a'
Error 1062 Duplicate entry '100' for key 'a'
Note 4094 At line 3 in mysqltest1.fn1
+Warning 1196 Some non-transactional changed tables couldn't be rolled back
+Warning 1196 Some non-transactional changed tables couldn't be rolled back
select fn1(20);
select fn1(20);
ERROR 23000: Duplicate entry '20' for key 'a'
ERROR 23000: Duplicate entry '20' for key 'a'
...
@@ -53,7 +56,7 @@
...
@@ -53,7 +56,7 @@
connection con1;
connection con1;
create trigger trg before insert on t1 for each row set new.a= 10;
create trigger trg before insert on t1 for each row set new.a= 10;
ERROR 42000: TRIGGER command denied to user 'zedjzlcsjhd'@'localhost' for table 't1'
ERROR 42000: TRIGGER command denied to user 'zedjzlcsjhd'@'localhost' for table 't1'
@@ -470,13 +474,13 @@
@@ -472,13 +476,13 @@
end
end
master-bin.000001 # Gtid # # BEGIN GTID #-#-#
master-bin.000001 # Gtid # # BEGIN GTID #-#-#
master-bin.000001 # Query # # use `mysqltest1`; insert into t1 values ( NAME_CONST('b',8))
master-bin.000001 # Query # # use `mysqltest1`; insert into t1 values ( NAME_CONST('b',8))