copyTable accepts 2 modifiers (no-innodb and/or no-content)
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Wed, 3 Mar 2010 12:19:19 +0000 (13:19 +0100)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Wed, 3 Mar 2010 12:23:50 +0000 (13:23 +0100)
commit8425f487a974708f1ee5b186edbfbf1e7dae4a35
tree78de65fdd9e7f84cb94043c9c2d4f85ea4ee28ab
parentd371744a0cd2ae4c2c9f10a9c25850c013ad8317
copyTable accepts 2 modifiers (no-innodb and/or no-content)

no-innodb -> don't convert the table to innodb
no-content -> don't copy the content of the table (just copy the structure)

Examples:
copyTable '#x4dat#.sourceName' 'destName' no-innodb
copyTable '#x4dat#.sourceName' 'destName' no-content
copyTable '#x4dat#.sourceName' 'destName' no-innodb,no-content

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
upgrade/account/copy_tables.sh