summaryrefslogtreecommitdiff
path: root/scripts/mysql_convert_table_format.sh
diff options
context:
space:
mode:
authorMichael Widenius <monty@askmonty.org>2011-01-07 17:58:12 +0200
committerMichael Widenius <monty@askmonty.org>2011-01-07 17:58:12 +0200
commitc0fc6d42ace74938c0d39907ddf8acfbeb4d247e (patch)
treef23de795e24b5425e88274594ebd955b6f3ddd68 /scripts/mysql_convert_table_format.sh
parent5b0afd8a0d57df6528e59b243e95881808bfb958 (diff)
downloadmariadb-git-c0fc6d42ace74938c0d39907ddf8acfbeb4d247e.tar.gz
Don't do DBUG_ASSERT for checksum errors when using REPAIR
mysql_convert_table_format ignored --engine option. Fix that zerofill() doesn't write out wrong data to client if run with auto repair. Ensure that pagecache is properly flushed, even in case of errors. Handle checksum errors in BLOCK_RECORD format. scripts/mysql_convert_table_format.sh: Fixed that --engine option works storage/maria/ha_maria.cc: Fix that zerofill() doesn't write out wrong data to client if run with auto repair. storage/maria/ma_check.c: Set in_check_table when scanning table to not get DBUG_ASSERT for checksum error. Ensure that pagecache is properly flushed, even in case of errors. Handle checksum errors in BLOCK_RECORD format. storage/maria/ma_sort.c: Set in_check_table when scanning table to not get DBUG_ASSERT for checksum error.
Diffstat (limited to 'scripts/mysql_convert_table_format.sh')
-rw-r--r--scripts/mysql_convert_table_format.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mysql_convert_table_format.sh b/scripts/mysql_convert_table_format.sh
index 6f586d0e8e0..7983982913c 100644
--- a/scripts/mysql_convert_table_format.sh
+++ b/scripts/mysql_convert_table_format.sh
@@ -28,7 +28,7 @@ $opt_port=0;
$exit_status=0;
GetOptions(
- "e|engine|type=s" => \$opt_type,
+ "e|engine|type=s" => \$opt_engine,
"f|force" => \$opt_force,
"help|?" => \$opt_help,
"h|host=s" => \$opt_host,