Merge Marisa - fix bug 684803: Need to update Drizzledump documentation with migration conversions / caveats Merge Marisa - fix bug #686641: Need to document removal of multi-table update/delete from Drizzle
When you migrate from MySQL to Drizzle, the following conversions are required:
262
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'
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
* TIME -> INT of the number of seconds*
282
* enum-> DEFAULT NULL
283
284
* This prevents data loss since MySQL's TIME data type has a range of -838:59:59 - 838:59:59, and Drizzle's TIME type has a range of 00:00:00 - 23:59:61.999999.