mirror of
https://github.com/mariadb-corporation/mariadb-connector-python.git
synced 2025-08-04 08:04:45 +00:00
Fix for CONPY-78:
Instead of checking the server version number if a specific feature is supported, we need to check the server capability or extended capability flag.
This commit is contained in:
@ -424,9 +424,6 @@ MrdbParser_parse(MrdbParser *p, uint8_t is_batch, char *errmsg, size_t errmsg_le
|
||||
#define MrdbIndicator_Check(a)\
|
||||
(Py_TYPE((a)) == &MrdbIndicator_Type)
|
||||
|
||||
#define MARIADB_FEATURE_SUPPORTED(mysql,version)\
|
||||
(mysql_get_server_version((mysql)) >= (version))
|
||||
|
||||
#define MARIADB_CHECK_CONNECTION(connection, ret)\
|
||||
if (!(connection) || !(connection)->mysql)\
|
||||
{\
|
||||
|
Reference in New Issue
Block a user