MySQL++

Check-in [e5f2c3d83f]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Applied an external patch by Augusto Caringi of Red Hat fixing a build issue against MariaDB 10.2.6 due to removal of an obsolete macro. Downstream bug: https://bugzilla.redhat.com/show_bug.cgi?id=1471139
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: e5f2c3d83f336239de3058651ae7af1449b1f293c7036bbe6166d597eba2b607
User & Date: tangent 2017-09-08 17:40:00
Context
2017-09-08
18:25
Removed config/autoconf_inc.m4. This macro is generated by Bakefile, not something we wrote. check-in: 2e6be82f2e user: tangent tags: trunk
17:40
Applied an external patch by Augusto Caringi of Red Hat fixing a build issue against MariaDB 10.2.6 due to removal of an obsolete macro. Downstream bug: https://bugzilla.redhat.com/show_bug.cgi?id=1471139 check-in: e5f2c3d83f user: tangent tags: trunk
2017-07-04
23:49
Whitespace fix check-in: 05b3f02f21 user: tangent tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to lib/dbdriver.cpp.

253
254
255
256
257
258
259

260



261
262
263
264
265
266
267
	// the option value, which is as it should be.
	int n = o;
	while (n && ((n & 1) == 0)) {
		n >>= 1;
	}
	
	if ((n == 1) &&

			(o >= CLIENT_LONG_PASSWORD) &&



#if MYSQL_VERSION_ID > 40000	// highest flag value varies by version
			(o <= CLIENT_MULTI_RESULTS)
#else
			(o <= CLIENT_TRANSACTIONS)
#endif
			) {
		// Option value seems sane, so go ahead and set/clear the flag







>

>
>
>







253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
	// the option value, which is as it should be.
	int n = o;
	while (n && ((n & 1) == 0)) {
		n >>= 1;
	}
	
	if ((n == 1) &&
#ifdef CLIENT_LONG_PASSWORD
			(o >= CLIENT_LONG_PASSWORD) &&
#else
			(o >= CLIENT_MYSQL) &&
#endif
#if MYSQL_VERSION_ID > 40000	// highest flag value varies by version
			(o <= CLIENT_MULTI_RESULTS)
#else
			(o <= CLIENT_TRANSACTIONS)
#endif
			) {
		// Option value seems sane, so go ahead and set/clear the flag