1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Updated to new error messages for partitions when .par file is missing

This commit is contained in:
Michael Widenius
2011-06-11 14:53:08 +03:00
parent 6d6bde6645
commit ff0b30219f
2 changed files with 8 additions and 4 deletions

View File

@ -657,15 +657,16 @@ CREATE TABLE t1 (a INT) PARTITION BY HASH (a);
FLUSH TABLES;
CHECK TABLE t1;
Table Op Msg_type Msg_text
test.t1 check Error File './test/t1.par' not found (Errcode: 2)
test.t1 check Error Failed to read from the .par file
test.t1 check Error Incorrect information in file: './test/t1.frm'
test.t1 check error Corrupt
SELECT * FROM t1;
ERROR HY000: Failed to read from the .par file
ERROR HY000: File './test/t1.par' not found (Errcode: 2)
# Note that it is currently impossible to drop a partitioned table
# without the .par file
DROP TABLE t1;
ERROR 42S02: Unknown table 't1'
ERROR HY000: File './test/t1.par' not found (Errcode: 2)
#
# Bug#49477: Assertion `0' failed in ha_partition.cc:5530
# with temporary table and partitions