~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/slave/tests/t/basic.test

  • Committer: Lee Bieber
  • Date: 2011-03-12 19:26:59 UTC
  • mfrom: (2231.1.2 build)
  • Revision ID: kalebral@gmail.com-20110312192659-7gea5egdp0y06nfk
Merge Patrick - add suite to test drizzledump
Merge Patrick - 732061: need a way to execute dtr test cases with the slave plugin

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--disable_warnings
 
2
DROP TABLE IF EXISTS t1;
 
3
--enable_warnings
 
4
 
 
5
--echo Populating master server
 
6
 
 
7
CREATE TABLE t1 (a int not null auto_increment, primary key(a));
 
8
INSERT INTO t1 VALUES (),(),();
 
9
SELECT * FROM t1;
 
10
 
 
11
--echo Connecting to slave...
 
12
connect (slave_con,127.0.0.1,root,,test, $TESTBOT0_SERVER1);
 
13
echo Using connection slave_con...;
 
14
connection slave_con;
 
15
--echo Checking slave contents...
 
16
--source include/wait_for_slave_plugin_to_sync.inc
 
17
 
 
18
SHOW CREATE TABLE t1;
 
19
SELECT * FROM t1;
 
20
 
 
21
--echo Switching to default connection
 
22
connection default;
 
23
disconnect slave_con;
 
24
 
 
25
# cleanup
 
26
DROP TABLE t1;