From: Florent Bruneau Date: Sun, 21 Feb 2010 12:29:13 +0000 (+0100) Subject: Add a small script to copy a table in x5dat manually. X-Git-Tag: xorg/1.0.0~332^2~189 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=2d9b1cbed66e990ba12971603436726971780113;p=platal.git Add a small script to copy a table in x5dat manually. Signed-off-by: Florent Bruneau --- diff --git a/upgrade/account/copytable.sh b/upgrade/account/copytable.sh new file mode 100755 index 0000000..b62a512 --- /dev/null +++ b/upgrade/account/copytable.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +echo "drop table if exists $2; create table $2 like $1; alter table $2 engine = innodb; insert into $2 select * from $1;" | mysql x5dat