Bug #8078 13.5.5.1 CACHE INDEX lists incorrect error code
Submitted: 21 Jan 2005 21:02 Modified: 1 Feb 2005 1:23
Reporter: Patrick Kenny Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Documentation Severity:S3 (Non-critical)
Version: OS:
Assigned to: Sergey Petrunya CPU Architecture:Any

[21 Jan 2005 21:02] Patrick Kenny
Description:
The documentation for CACHE INDEX show an example of the error from using CACHE INDEX with a non-existent cache:

> mysql> CACHE INDEX t1 IN non_existent_cache;
> ERROR 1283 (HY000): Unknown key cache 'non_existent_cache'

From testing and mysqld_error.h, I believe the error id for unknown key cache is actually 1284, not 1283.

How to repeat:
view the online documentation for CACHE INDEX (section 13.5.5.1, I believe).

Suggested fix:
update the documentation
[1 Feb 2005 1:09] Sergey Petrunya
This is a typo in the section 13.5.5.1 of the manual. Nothing needs to be changed on the server side.
[1 Feb 2005 1:23] Sergey Petrunya
Thank you for your bug report. This issue has been addressed in the
documentation. The updated documentation will appear on our website
shortly, and will be included in the next release of the relevant
product(s).