~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/slave/tests/r/basic.result

  • Committer: patrick crews
  • Date: 2011-03-09 20:04:11 UTC
  • mto: (2231.1.1 build) (2239.2.2 build)
  • mto: This revision was merged to the branch mainline in revision 2232.
  • Revision ID: gleebix@gmail.com-20110309200411-868y1ssdbf5fqhcp
Updated dbqp magic so that we can execute slave tests.  We have to use .cnf files vs. .opt files, but this is the future anyway ; )  Added basic test + include file to ensure slave is sync'd prior to checking it

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
DROP TABLE IF EXISTS t1;
 
2
Populating master server
 
3
CREATE TABLE t1 (a int not null auto_increment, primary key(a));
 
4
INSERT INTO t1 VALUES (),(),();
 
5
SELECT * FROM t1;
 
6
a
 
7
1
 
8
2
 
9
3
 
10
Connecting to slave...
 
11
Using connection slave_con...
 
12
Checking slave contents...
 
13
SHOW CREATE TABLE t1;
 
14
Table   Create Table
 
15
t1      CREATE TABLE `t1` (
 
16
  `a` INT NOT NULL AUTO_INCREMENT,
 
17
  PRIMARY KEY (`a`)
 
18
) ENGINE=InnoDB COLLATE = utf8_general_ci
 
19
SELECT * FROM t1;
 
20
a
 
21
1
 
22
2
 
23
3
 
24
Switching to default connection
 
25
DROP TABLE t1;