From 80252e58deabc34ff3f3301099d822f7596354e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Canna=C3=B2?= Date: Fri, 21 Sep 2018 13:21:02 +0200 Subject: [PATCH] CLIENT_LONG_FLAG in CapabilityFlags #1192 #1631 --- lib/MySQL_Protocol.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/MySQL_Protocol.cpp b/lib/MySQL_Protocol.cpp index 1739e0900c..47d0d715ca 100644 --- a/lib/MySQL_Protocol.cpp +++ b/lib/MySQL_Protocol.cpp @@ -1063,6 +1063,7 @@ bool MySQL_Protocol::generate_pkt_initial_handshake(bool send, void **ptr, unsig if (mysql_thread___have_compress) { mysql_thread___server_capabilities |= CLIENT_COMPRESS; // FIXME: shouldn't be here } + mysql_thread___server_capabilities |= CLIENT_LONG_FLAG; (*myds)->myconn->options.server_capabilities=mysql_thread___server_capabilities; memcpy(_ptr+l,&mysql_thread___server_capabilities, sizeof(mysql_thread___server_capabilities)); l+=sizeof(mysql_thread___server_capabilities); memcpy(_ptr+l,&mysql_thread___default_charset, sizeof(mysql_thread___default_charset)); l+=sizeof(mysql_thread___default_charset);