summaryrefslogtreecommitdiff
path: root/mysql-test/std_data
diff options
context:
space:
mode:
authorSatya B <satya.bn@sun.com>2009-03-18 11:16:21 +0530
committerSatya B <satya.bn@sun.com>2009-03-18 11:16:21 +0530
commit497db6ac0f1efb1a962158d9ee108b0236b88e5c (patch)
tree266da795b85d6136282fe29653027e0a53cc7301 /mysql-test/std_data
parentda3c4375cfe9530c04525ff6694e5f59f354c144 (diff)
downloadmariadb-git-497db6ac0f1efb1a962158d9ee108b0236b88e5c.tar.gz
Fix for BUG#32880 - Repairing Archive table fails with internal error 144
Any statement reading corrupt archive data file (CHECK/REPAIR/SELECT/UPDATE/DELETE) may cause assertion failure in debug builds. This assertion has been removed and an error is returned instead. Also fixed that CHECK/REPAIR returns vague error message when it mets corruption in archive data file. This is fixed by returning proper error code. mysql-test/r/archive.result: A test case for BUG#32880 mysql-test/std_data/bug32880.ARN: corrupted archive table to test check and repair table operation mysql-test/std_data/bug32880.ARZ: corrupted archive table to test check and repair table operation mysql-test/std_data/bug32880.frm: corrupted archive table to test check and repair table operation mysql-test/t/archive.test: A test case for BUG#32880 storage/archive/ha_archive.cc: Fixed unpack_row() to return the error instead of throwing assertion and also fixed repair() to throw better error when repair table operation fails on corrupted archive table
Diffstat (limited to 'mysql-test/std_data')
-rw-r--r--mysql-test/std_data/bug32880.ARNbin0 -> 131 bytes
-rw-r--r--mysql-test/std_data/bug32880.ARZbin0 -> 8744 bytes
-rw-r--r--mysql-test/std_data/bug32880.frmbin0 -> 8578 bytes
3 files changed, 0 insertions, 0 deletions
diff --git a/mysql-test/std_data/bug32880.ARN b/mysql-test/std_data/bug32880.ARN
new file mode 100644
index 00000000000..643b0dfbad5
--- /dev/null
+++ b/mysql-test/std_data/bug32880.ARN
Binary files differ
diff --git a/mysql-test/std_data/bug32880.ARZ b/mysql-test/std_data/bug32880.ARZ
new file mode 100644
index 00000000000..4e151822647
--- /dev/null
+++ b/mysql-test/std_data/bug32880.ARZ
Binary files differ
diff --git a/mysql-test/std_data/bug32880.frm b/mysql-test/std_data/bug32880.frm
new file mode 100644
index 00000000000..66a4c7d7538
--- /dev/null
+++ b/mysql-test/std_data/bug32880.frm
Binary files differ