mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 21:12:26 +01:00
28 lines
554 B
Text
28 lines
554 B
Text
|
stop slave;
|
||
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
||
|
reset master;
|
||
|
reset slave;
|
||
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
||
|
start slave;
|
||
|
drop database if exists mysqltest1;
|
||
|
create database mysqltest1;
|
||
|
use mysqltest1;
|
||
|
CREATE TABLE t1 (a char(3));
|
||
|
CREATE TABLE t2 (a char(3));
|
||
|
insert into t1 values("ANN");
|
||
|
insert into t1 values("GUI");
|
||
|
insert into t2 values("LIL");
|
||
|
insert into t2 values("ABE");
|
||
|
insert into t2 values("ANG");
|
||
|
use mysqltest1;
|
||
|
select * from t1 order by a;
|
||
|
a
|
||
|
ANN
|
||
|
GUI
|
||
|
select * from t2 order by a;
|
||
|
a
|
||
|
ABE
|
||
|
ANG
|
||
|
LIL
|
||
|
DROP TABLE t1,t2;
|