From 2d9b1cbed66e990ba12971603436726971780113 Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Sun, 21 Feb 2010 13:29:13 +0100 Subject: [PATCH] Add a small script to copy a table in x5dat manually. Signed-off-by: Florent Bruneau --- upgrade/account/copytable.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 upgrade/account/copytable.sh 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 -- 2.1.4