~stewart/drizzle/embedded-innodb-create-select-transaction-arrgh

« back to all changes in this revision

Viewing changes to mysql-test/suite/rpl/r/rpl_row_func001.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
stop slave;
 
2
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
 
3
reset master;
 
4
reset slave;
 
5
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
 
6
start slave;
 
7
DROP FUNCTION test.f1;
 
8
DROP TABLE IF EXISTS test.t1;
 
9
create table test.t1 (a int, PRIMARY KEY(a));
 
10
create function test.f1(i int) returns int
 
11
begin
 
12
insert into test.t1 values(i);
 
13
return 0;
 
14
end//
 
15
select test.f1(1);
 
16
test.f1(1)
 
17
0
 
18
select test.f1(2);
 
19
test.f1(2)
 
20
0
 
21
select * from test.t1;
 
22
a
 
23
1
 
24
2
 
25
select * from test.t1;
 
26
a
 
27
1
 
28
2
 
29
DROP FUNCTION test.f1;
 
30
DROP TABLE test.t1;