~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysql-test/r/innodb_notembedded.result

  • Committer: brian
  • Date: 2008-06-25 05:29:13 UTC
  • Revision ID: brian@localhost.localdomain-20080625052913-6upwo0jsrl4lnapl
clean slate

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
drop table if exists t1;
 
2
SET GLOBAL log_bin_trust_function_creators = 1;
 
3
create table t1 (col1 integer primary key, col2 integer) engine=innodb;
 
4
insert t1 values (1,100);
 
5
start transaction;
 
6
select col2 from t1 where col1=1 for update;
 
7
col2
 
8
100
 
9
update t1 set col2=0 where col1=1;
 
10
select * from t1;
 
11
col1    col2
 
12
1       100
 
13
rollback;
 
14
rollback;
 
15
drop table t1;
 
16
SET GLOBAL log_bin_trust_function_creators = 0;