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

« back to all changes in this revision

Viewing changes to mysql-test/suite/rpl/r/rpl_alter.result

  • 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
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 database if exists mysqltest;
 
8
create database mysqltest;
 
9
create table mysqltest.t1 ( n int);
 
10
alter table mysqltest.t1 add m int;
 
11
insert into mysqltest.t1 values (1,2);
 
12
create table mysqltest.t2 (n int);
 
13
insert into mysqltest.t2 values (45);
 
14
rename table mysqltest.t2 to mysqltest.t3, mysqltest.t1 to mysqltest.t2;
 
15
select * from mysqltest.t2;
 
16
n       m
 
17
1       2
 
18
select * from mysqltest.t3;
 
19
n
 
20
45
 
21
drop database mysqltest;