1
-- source include/not_embedded.inc
2
-- source include/have_innodb.inc
5
drop table if exists t1;
8
connect (a,localhost,root,,);
9
connect (b,localhost,root,,);
13
# BUG#11238 - in prelocking mode SELECT .. FOR UPDATE is changed to
16
SET GLOBAL log_bin_trust_function_creators = 1;
17
create table t1 (col1 integer primary key, col2 integer) engine=innodb;
18
insert t1 values (1,100);
20
select col2 from t1 where col1=1 for update;
22
send update t1 set col2=0 where col1=1;
34
SET GLOBAL log_bin_trust_function_creators = 0;