~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/suite/mysql_migrate/r/destination-database.result

  • Committer: patrick crews
  • Date: 2011-01-03 22:05:17 UTC
  • mto: (2231.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 2232.
  • Revision ID: gleebix@gmail.com-20110103220517-dr1hiugmlp29msn3
Updated test and result files

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
DROP SCHEMA IF EXISTS drizzledump_migrate_test_orig;
 
2
DROP SCHEMA IF EXISTS drizzledump_migrate_test_dest;
 
3
Dropping test database on MySQL...
 
4
Create test database on MySQL...
 
5
populating MySQL with test data...
 
6
calling drizzledump to populate Drizzle...
 
7
see our schemas
 
8
SHOW SCHEMAS;
 
9
Database
 
10
DATA_DICTIONARY
 
11
drizzledump_migrate_test_dest
 
12
INFORMATION_SCHEMA
 
13
mysql
 
14
test
 
15
test our table:
 
16
Make sure our tables don't exist under the orig. name
 
17
SHOW CREATE TABLE drizzledump_migrate_test_orig.t1;
 
18
Table   Create Table
 
19
SELECT * FROM drizzledump_migrate_test_orig.t1;
 
20
ERROR 42S02: Table 'drizzledump_migrate_test_orig.t1' doesn't exist
 
21
Check if they are in our new location
 
22
SHOW CREATE TABLE drizzledump_migrate_test_dest.t1;
 
23
Table   Create Table
 
24
t1      CREATE TABLE `t1` (
 
25
  `a` INT DEFAULT NULL
 
26
) ENGINE=InnoDB COLLATE = utf8_general_ci
 
27
SELECT * FROM drizzledump_migrate_test_dest.t1;
 
28
a
 
29
1
 
30
3
 
31
5
 
32
7
 
33
9
 
34
Dropping test database on MySQL...
 
35
DROP SCHEMA drizzledump_migrate_test_dest;