Bug #31138 | Option & Variable Reference errors | ||
---|---|---|---|
Submitted: | 21 Sep 2007 18:52 | Modified: | 14 Dec 2007 16:39 |
Reporter: | Baron Schwartz (Basic Quality Contributor) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Documentation | Severity: | S3 (Non-critical) |
Version: | OS: | Any | |
Assigned to: | MC Brown | CPU Architecture: | Any |
[21 Sep 2007 18:52]
Baron Schwartz
[21 Sep 2007 18:53]
Baron Schwartz
Results on my laptop
Attachment: results (application/octet-stream, text), 36.65 KiB.
[21 Sep 2007 18:53]
Baron Schwartz
Script to test the option tables against some MySQL server
Attachment: test-option-tables.pl (application/x-perl, text), 8.28 KiB.
[21 Sep 2007 18:55]
Baron Schwartz
I realized I forgot to say what I'm testing. It's this manual page: http://dev.mysql.com/doc/refman/5.0/en/mysqld-option-tables.html (PS: If I could make a request -- repeating the table headers every 30 rows would be helpful. Don't know if that's easy to do).
[21 Sep 2007 19:18]
MySQL Verification Team
Thank you for the bug report.
[21 Sep 2007 20:14]
Jon Stephens
There are some problems here. For example, Com_alter_event, Com_create_event, and Com_drop_event are defined in 5.1, but not before (the Event Scheduler was implemented in 5.1.6).
[21 Sep 2007 20:48]
Baron Schwartz
Sure. But if you run the script against a 5.1 server, it will download the 5.1 version of the manual page, and it won't complain about that. It's complaining because the 5.0 manual page mentions those values.
[22 Sep 2007 7:39]
Jon Stephens
Hi Baron, that was exactly my point. :)
[22 Sep 2007 8:20]
MC Brown
Baron, We did have an issue yesterday where the table was being output incorrectly - that is, we output a table that included all options/variables for all versions even though it only appeared in the 5.0 manual. That doesn't mean you don't have a valid point on some entries (In fact, quite the opposite, I think you have a very valid point!), but certainly some of the errors reported here will be addressed by us just outputting the correct version of the table. I'll re-run your script and check the results across different versions so I can determine the problems that ned to be addressed.
[22 Sep 2007 12:03]
Baron Schwartz
You know, I wonder if the easiest thing to do would be add another column containing the version(s) in which the item first appeared, and then output the same table for all manual versions. I don't know if that's something you'd want to do, but it seems like it would make things a lot easier, and it would be very helpful when reading the table. I can update the script to respect this column if you wish, so there'll still be an easy way to test the table.
[22 Sep 2007 20:09]
MC Brown
I think we'd like to keep the version-specific information in the corresponding manual version. The table itself is generated from a different resource (we are not manually updating the table), so including a version specific of the table is not an issue. Unless, as in this instance, there was a bug which made the wrong table information be output. We have a version of the table that covers all versions of the server and includes introduced and deprecated information and links to the corresponding manual in which you can find a more detailed description. That will be a separate standalone document to be used as a kind of 'cheat sheet'.
[24 Sep 2007 18:44]
Baron Schwartz
I noticed this script actually messes up the server's configuration by doing SET @@var := @@var, which apparently loses some fidelity. I advise not to run the attached script against a server you care about. Details are at bug #31177.
[14 Dec 2007 16:39]
MC Brown
We have addressed a huge list of issues related to the problems raised in this bug report (many of which we knew already). This should have fixed issues, even on a version by version basis, as we now compare the current information with discovered information on a release automatically. There may still be minor cases, in which case, please feel free to report another bug.