~chuck-bell/mysql-utilities/mysql-utilities

« back to all changes in this revision

Viewing changes to mysql-test/r/copy_db_errors.result

  • Committer: chuck.bell at oracle
  • Date: 2011-07-05 22:09:50 UTC
  • Revision ID: chuck.bell@oracle.com-20110705220950-ehp8m1ukj6uqi1y7
BUG#12632010 : Add feature to allow conversion of storage engines on copy or import

This patch adds the ability to specify a different storage engine for
all tables during a copy or import operation in mysqldbcopy and 
mysqldbimport using a new option named --new-storage-engine.

The patch also adds the ability to specify a default storage engine to
use if the storage engine specified in the import or from the source
during a copy is not available on the destination. This option is
--default-storage-engine. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
116
116
Usage: mysqldbcopy.py --source=user:pass@host:port:socket --destination=user:pass@host:port:socket orig_db:new_db
117
117
 
118
118
mysqldbcopy.py: error: You must specify at least one database to copy.
 
119
Test case 20 - new storage engine missing
 
120
# Source on localhost: ... connected.
 
121
# Destination on localhost: ... connected.
 
122
# Copying database util_test renamed as util_db_clone
 
123
WARNING: New storage engine NOTTHERE is not supported on the server.
 
124
# Copying TABLE util_test.t1
 
125
# Copying data for TABLE util_test.t1
 
126
# Copying TABLE util_test.t2
 
127
# Copying data for TABLE util_test.t2
 
128
# Copying TABLE util_test.t3
 
129
# Copying data for TABLE util_test.t3
 
130
# Copying TABLE util_test.t4
 
131
# Copying data for TABLE util_test.t4
 
132
# Copying VIEW util_test.v1
 
133
# Copying PROCEDURE util_test.p1
 
134
# Copying FUNCTION util_test.f1
 
135
# Copying EVENT util_test.e1
 
136
# Copying GRANTS from util_test
 
137
#...done.
 
138
Test case 21 - default storage engine missing
 
139
# Source on localhost: ... connected.
 
140
# Destination on localhost: ... connected.
 
141
# Copying database util_test renamed as util_db_clone
 
142
WARNING: Default storage engine NOPENOTHERE is not supported on the server.
 
143
# Copying TABLE util_test.t1
 
144
# Copying data for TABLE util_test.t1
 
145
# Copying TABLE util_test.t2
 
146
# Copying data for TABLE util_test.t2
 
147
# Copying TABLE util_test.t3
 
148
# Copying data for TABLE util_test.t3
 
149
# Copying TABLE util_test.t4
 
150
# Copying data for TABLE util_test.t4
 
151
# Copying VIEW util_test.v1
 
152
# Copying PROCEDURE util_test.p1
 
153
# Copying FUNCTION util_test.f1
 
154
# Copying EVENT util_test.e1
 
155
# Copying GRANTS from util_test
 
156
#...done.