Bug #16293 Example for mysql_get_server_version in documentation is incorrect.
Submitted: 9 Jan 2006 8:32 Modified: 12 Jan 2006 21:32
Reporter: Eric Huss (Candidate Quality Contributor) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Documentation Severity:S5 (Performance)
Version:5.0/5.1 OS:Any (all)
Assigned to: CPU Architecture:Any

[9 Jan 2006 8:32] Eric Huss
Description:
The example for mysql_get_server_version in the documentation says the following:

For example, 5.0.12 is returned as 500012.

This is incorrect.  There is an extra zero.  It should be 50012.

How to repeat:
doc bug

Suggested fix:
Update doc to 50012
[9 Jan 2006 17:54] MySQL Verification Team
Thank you for the bug report:

C:\mysql\bin>c:\temp\bug16293
Server: 50019
[12 Jan 2006 21:32] Mike Hillyer
Fixed, thank you for your report.

Also updated 5.1 doc to use a 5.1 version in the example.