~drizzle-trunk/drizzle/development

1 by brian
clean slate
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_prometheus;
8
DROP DATABASE IF EXISTS mysqltest_sisyfos;
9
DROP DATABASE IF EXISTS mysqltest_bob;
10
DROP DATABASE IF EXISTS mysqltest_bob;
11
CREATE DATABASE mysqltest_prometheus;
12
CREATE DATABASE mysqltest_sisyfos;
13
CREATE DATABASE mysqltest_bob;
14
USE mysqltest_sisyfos;
15
CREATE TABLE t1 (b int);
16
INSERT INTO t1 VALUES(1);
17
USE mysqltest_bob;
18
CREATE TABLE t2 (b int);
19
INSERT INTO t2 VALUES(2);
20
ALTER DATABASE mysqltest_sisyfos CHARACTER SET latin1;
21
USE mysqltest_sisyfos;
22
ALTER DATABASE mysqltest_bob CHARACTER SET latin1;
23
SHOW DATABASES LIKE 'mysql%';
24
Database (mysql%)
25
mysql
26
mysqltest_bob
27
mysqltest_prometheus
28
mysqltest_sisyfos
29
SHOW DATABASES LIKE 'mysql%';
30
Database (mysql%)
31
mysql
32
mysqltest_prometheus
33
mysqltest_sisyfos
34
DROP DATABASE IF EXISTS mysqltest_sisyfos;
35
USE mysqltest_prometheus;
36
CREATE TABLE t1 (a INT);
37
INSERT INTO t1 VALUES (1);
38
CREATE DATABASE mysqltest_sisyfos;
39
USE mysqltest_sisyfos;
40
CREATE TABLE t2 (a INT);
41
SHOW DATABASES LIKE 'mysql%';
42
Database (mysql%)
43
mysql
44
mysqltest_bob
45
mysqltest_prometheus
46
mysqltest_sisyfos
47
SHOW DATABASES LIKE 'mysql%';
48
Database (mysql%)
49
mysql
50
mysqltest_prometheus
51
mysqltest_sisyfos
52
USE mysqltest_prometheus;
53
SHOW TABLES;
54
Tables_in_mysqltest_prometheus
55
t1
56
USE mysqltest_sisyfos;
57
SHOW TABLES;
58
Tables_in_mysqltest_sisyfos
59
t2
60
DROP DATABASE IF EXISTS mysqltest_prometheus;
61
DROP DATABASE IF EXISTS mysqltest_sisyfos;
62
DROP DATABASE IF EXISTS mysqltest_bob;