Skip to content

Commit

Permalink
CLIENT_LONG_FLAG in CapabilityFlags #1192 #1631
Browse files Browse the repository at this point in the history
  • Loading branch information
renecannao committed Sep 21, 2018
1 parent f6fea64 commit 80252e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/MySQL_Protocol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 80252e5

Please sign in to comment.