Bug #66975 mysql connector (build it yourself) version 1.1.1 still says 1.0.6.
Submitted: 26 Sep 2012 21:09 Modified: 22 Jul 2014 14:14
Reporter: David Corliss Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / C++ Severity:S3 (Non-critical)
Version:1.1.1 OS:Any
Assigned to: Assigned Account CPU Architecture:Any
Tags: mysql connector 1.1.1 version issue

[26 Sep 2012 21:09] David Corliss
Description:
Update file:  mysql_driver.cpp and change the values 1.0.6 returned below to 1.1.1 as this is the current driver version listed on the website download.
Thanks,
Dave

int MySQL_Driver::getMajorVersion()
{
	return 1;
}

int MySQL_Driver::getMinorVersion()
{
	return 0;
}

int MySQL_Driver::getPatchVersion()
{
	return 6;
}

How to repeat:
Verified via inspection.
[26 Sep 2012 23:19] MySQL Verification Team
Thank you for the bug report.
[24 Jan 2013 16:40] David Corliss
Added version number.
[23 Apr 2013 21:29] Lawrenty Novitsky
While this bug was fixed for 1.1.2 and 1.1.3, the version returned by the driver has to be parametrized and taken from cmake configuration.
[22 Jul 2014 6:58] Hemant Dangi
Posted by developer:
 
Corrected methods returning driver version information.

Methods returning driver version information are now parameterized, and those parameters take their values from cmake config.
The patch introduces new cmake file - VersionInfo.cmake. All version configuration has been moved there.
Also introduced file driver/version_info.h.cmake - the source file for header to be used in the code. It is populated by values from VersionInfo.h
Both new files are a bit reduntant - i.e. some values are not used. files were ported from c/odbc and reduntant values left since they can become useful in future and there is not much harm to keep them.
[22 Jul 2014 14:14] Paul DuBois
Noted in 1.1.4 changelog.

Connector/C++ version-information methods have been revised to return
the correct values.