~ubuntu-branches/ubuntu/precise/mysql-5.1/precise

« back to all changes in this revision

Viewing changes to mysql-test/suite/bugs/t/rpl_bug33029.test

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Tretkowski
  • Date: 2010-03-17 14:56:02 UTC
  • Revision ID: james.westby@ubuntu.com-20100317145602-x7e30l1b2sb5s6w6
Tags: upstream-5.1.45
ImportĀ upstreamĀ versionĀ 5.1.45

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# Bug #36443 Server crashes when executing insert when insert trigger on table
 
3
#
 
4
# Emulating the former bug#33029 situation to see that there is no crash anymore.
 
5
 
6
 
 
7
 
 
8
source include/master-slave.inc;
 
9
 
 
10
create table `t1` (`id` int not null auto_increment primary key);
 
11
create trigger `trg` before insert on `t1` for each row begin end;
 
12
 
 
13
sync_slave_with_master;
 
14
set @@global.debug="+d,simulate_bug33029";
 
15
 
 
16
stop slave;
 
17
start slave;
 
18
 
 
19
connection master;
 
20
 
 
21
insert into `t1` values ();
 
22
 
 
23
sync_slave_with_master;
 
24
select * from t1;
 
25