Bug #2210 SHOW TABLE STATUS with corrupted .frm returns -1
Submitted: 25 Dec 2003 9:40 Modified: 28 Jan 2004 0:42
Reporter: Georg Richter Email Updates:
Status: Closed Impact on me:
Category:MySQL Server Severity:S3 (Non-critical)
Version:4.1.2 OS:Linux (Linux)
Assigned to: Alexey Botchkov CPU Architecture:Any

[25 Dec 2003 9:40] Georg Richter
This is a duplicate of #93 (Bug #93 - 4.1 protocol crash on corrupted frm and SHOW TABLE STATUS) but only affects embedded server.

mysql_query with show table status returns -1 (which is not defined in documentation).

How to repeat:
see http://bugs.mysql.com/bug.php?id=93 or test_frm_bug() in tests/client_test.c
[28 Jan 2004 0:42] Alexey Botchkov
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at

Additional info:

bk commit - 4.1 tree (hf:1.1678) 28 Jan 2004