summaryrefslogtreecommitdiff
path: root/scripts/mysql_convert_table_format.sh
diff options
context:
space:
mode:
authorbrian@zim.tangent.org <>2006-02-12 13:26:30 -0800
committerbrian@zim.tangent.org <>2006-02-12 13:26:30 -0800
commit0a5a30bef3c4c539cdf458dd359b04e742b644e3 (patch)
treea998c1754983b8b4aba1c4acc4ff63214d4b3bef /scripts/mysql_convert_table_format.sh
parenteeefb8ba7c4223706d66f580b3895ec467d8d29c (diff)
downloadmariadb-git-0a5a30bef3c4c539cdf458dd359b04e742b644e3.tar.gz
This patch removes the remaining TYPE= code from MySQL. It cleans up a number of tests where it was being called still (and failing). Also I cleaned up all of the extra scripts so that they now work.
Diffstat (limited to 'scripts/mysql_convert_table_format.sh')
-rw-r--r--scripts/mysql_convert_table_format.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/mysql_convert_table_format.sh b/scripts/mysql_convert_table_format.sh
index c1955e632fb..4b68d6c5039 100644
--- a/scripts/mysql_convert_table_format.sh
+++ b/scripts/mysql_convert_table_format.sh
@@ -69,7 +69,7 @@ foreach $table (@ARGV)
}
}
print "converting $table\n" if ($opt_verbose);
- if (!$dbh->do("ALTER TABLE $table type=$opt_type"))
+ if (!$dbh->do("ALTER TABLE $table ENGINE=$opt_type"))
{
print STDERR "Can't convert $table: Error $DBI::errstr\n";
exit(1) if (!$opt_force);
@@ -114,7 +114,7 @@ Conversion of a MySQL tables to other table types.
--socket='/path/to/socket'
Socket to connect with.
---type='table-type'
+--ENGINE='table-type'
Converts tables to the given table type (Default: $opt_type)
MySQL 3.23 supports at least the BDB, ISAM and MYISAM types.