2023-02-09 17:43:46 +00:00
|
|
|
Index: b/jdbc/driver/nativeapi/mysql_native_connection_wrapper.cpp
|
|
|
|
===================================================================
|
|
|
|
--- a/jdbc/driver/nativeapi/mysql_native_connection_wrapper.cpp
|
|
|
|
+++ b/jdbc/driver/nativeapi/mysql_native_connection_wrapper.cpp
|
|
|
|
@@ -479,7 +479,11 @@ int MySQL_NativeConnectionWrapper::get_p
|
2021-06-07 06:34:18 +00:00
|
|
|
/* {{{ MySQL_NativeConnectionWrapper::has_query_attributes() */
|
|
|
|
bool MySQL_NativeConnectionWrapper::has_query_attributes()
|
|
|
|
{
|
|
|
|
+#ifdef CLIENT_QUERY_ATTRIBUTES
|
|
|
|
return mysql->server_capabilities & CLIENT_QUERY_ATTRIBUTES;
|
|
|
|
+#else
|
|
|
|
+ return false;
|
|
|
|
+#endif
|
|
|
|
}
|
|
|
|
/* }}} */
|
|
|
|
|