~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to docs/clients/drizzledump.rst

  • Committer: Monty Taylor
  • Date: 2010-10-19 21:51:42 UTC
  • mto: This revision was merged to the branch mainline in revision 1870.
  • Revision ID: mordred@inaugust.com-20101019215142-bwof1oqrswj9ms3v
Add a constrained_value class which allows us to set compile-time
constraints on a value.

Show diffs side-by-side

added added

removed removed

Lines of Context:
257
257
into a Drizzle server as follows::
258
258
 
259
259
     $ drizzledump --all-databases --host=mysql-host --user=mysql-user --password --destination-type=database --desination-host=drizzle-host
260
 
 
261
 
When you migrate from MySQL to Drizzle, the following conversions are required:
262
 
 
263
 
MyISAM -> InnoDB
264
 
FullText -> drop it (with stderr warning)
265
 
int unsigned -> bigint
266
 
tinyint -> int
267
 
smallint -> int
268
 
mediumint -> int
269
 
tinytext -> text
270
 
mediumtext -> text
271
 
longtext -> text
272
 
tinyblob -> blob
273
 
mediumblob -> blob
274
 
longblob -> blob
275
 
time -> int (of seconds)
276
 
year -> int
277
 
set -> text
278
 
date/datetime default 0000-00-00 -> default NULL *(Currently, ALL date columns have their DEFAULT set to NULL on migration)
279
 
date/datetime NOT NULL columns -> NULL
280
 
any date data containing 0000-00-00 -> NULL
281
 
enum-> DEFAULT NULL
 
 
b'\\ No newline at end of file'