php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #72638
Patch fix-connection-attributes-in-mysqlnd revision 2016-11-16 15:22 UTC by mateusz dot kijowski at gmail dot com

Patch fix-connection-attributes-in-mysqlnd for MySQL related Bug #72638

Patch version 2016-11-16 15:22 UTC

Return to Bug #72638 | Download this patch
Patch Revisions:

Developer: mateusz.kijowski@gmail.com

From: Mateusz Kijowski <mateusz.kijowski@gmail.com>
Date: Mon, 7 Nov 2016 17:44:30 +0100
Subject: fix support for connection attributes

---
 ext/mysqlnd/mysqlnd_enum_n_def.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ext/mysqlnd/mysqlnd_enum_n_def.h b/ext/mysqlnd/mysqlnd_enum_n_def.h
index 21e67b4..f49feb1 100644
--- a/ext/mysqlnd/mysqlnd_enum_n_def.h
+++ b/ext/mysqlnd/mysqlnd_enum_n_def.h
@@ -109,7 +109,8 @@
 
 #define MYSQLND_CAPABILITIES (CLIENT_LONG_PASSWORD | CLIENT_LONG_FLAG | CLIENT_TRANSACTIONS | \
 				CLIENT_PROTOCOL_41 | CLIENT_SECURE_CONNECTION | \
-				CLIENT_MULTI_RESULTS  | CLIENT_LOCAL_FILES | CLIENT_PLUGIN_AUTH)
+				CLIENT_MULTI_RESULTS  | CLIENT_LOCAL_FILES | CLIENT_PLUGIN_AUTH | \
+				CLIENT_CONNECT_ATTRS)
 
 #define MYSQLND_NET_FLAG_USE_COMPRESSION 1
 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 23:01:29 2024 UTC