Skip to content

Commit ab35924

Browse files
WL#13220: Deprecate --character-set-client-handshake server option
Added a deprecation warning. Added test. WL#8609: Deprecate old/new system variables Added a deprecation warning on command line and SET GLOBAL Added test WL#11091: Deprecate mysql_ssl_set() C API function Marked mysql_ssl_set() as deprecated using the C++14 macro Removed use of it from the mysql codebase. Post-push fix: Fix for issue reported by linktest Change-Id: I7d329c47c0a0a9ef4710215531dec72b59fd8812
1 parent ff5c164 commit ab35924

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/mysql.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ const char *STDCALL mysql_character_set_name(MYSQL *mysql);
457457
int STDCALL mysql_set_character_set(MYSQL *mysql, const char *csname);
458458

459459
MYSQL *STDCALL mysql_init(MYSQL *mysql);
460-
#ifdef __cplusplus
460+
#if defined(__cplusplus) && (__cplusplus >= 201402L)
461461
[[deprecated("Use mysql_options() instead.")]]
462462
#endif
463463
bool STDCALL

0 commit comments

Comments
 (0)