Small imprecision with REPAIR TABLE ... USE_FRM and non-MyISAM handler
am 21.10.2002 20:20:54 von Jocelyn FournierHi,
I just want to report a small imprecision in the error message when REPAIR
TABLE ... USE_FRM is used.
How-to-repeat :
On a HEAP or InnoDB table for example :
mysql> REPAIR TABLE online;
+-------------------+--------+----------+------------------- ----------------
---------------------+
| Table | Op | Msg_type | Msg_text
|
+-------------------+--------+----------+------------------- ----------------
---------------------+
| Hardwarefr.online | repair | error | The handler for the table doesn't
support check/repair |
+-------------------+--------+----------+------------------- ----------------
---------------------+
1 row in set (0.00 sec)
=> Error message is OK
mysql> REPAIR TABLE online USE_FRM;
+--------+--------+----------+---------------------------+
| Table | Op | Msg_type | Msg_text |
+--------+--------+----------+---------------------------+
| online | repair | error | Failed renaming .MYD file |
+--------+--------+----------+---------------------------+
1 row in set (0.00 sec)
=> Error message should be the same than without USE_FRM ?
Another imprecision with a InnoDB table :
mysql> REPAIR TABLE cookie;
+-------------------+--------+----------+------------------- ----------------
---------------------+
| Table | Op | Msg_type | Msg_text
|
+-------------------+--------+----------+------------------- ----------------
---------------------+
| Hardwarefr.cookie | repair | error | The handler for the table doesn't
support check/repair |
+-------------------+--------+----------+------------------- ----------------
---------------------+
1 row in set (0.00 sec)
However :
mysql> CHECK TABLE cookie;
+-------------------+-------+----------+----------+
| Table | Op | Msg_type | Msg_text |
+-------------------+-------+----------+----------+
| Hardwarefr.cookie | check | status | OK |
+-------------------+-------+----------+----------+
1 row in set (24.38 sec)
So the error message is not completely right since the handler support CHECK
TABLE :)
Regards,
Jocelyn
------------------------------------------------------------ ---------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail bugs-thread12815@lists.mysql.com
To unsubscribe, e-mail