Commit b6c175aa authored by Sergey Vojtovich's avatar Sergey Vojtovich

MDEV-6039 - WebScaleSQL patches

Preserve CLIENT_REMEMBER_OPTIONS flag for compressed connections

Code cleanup: removed reference to CLIENT_REMEMBER_OPTIONS from server
code. This flag is ignored in MariaDB.
parent 643738ee
...@@ -5804,7 +5804,7 @@ static int connect_to_master(THD* thd, MYSQL* mysql, Master_info* mi, ...@@ -5804,7 +5804,7 @@ static int connect_to_master(THD* thd, MYSQL* mysql, Master_info* mi,
#ifndef DBUG_OFF #ifndef DBUG_OFF
mi->events_till_disconnect = disconnect_slave_event_count; mi->events_till_disconnect = disconnect_slave_event_count;
#endif #endif
ulong client_flag= CLIENT_REMEMBER_OPTIONS; ulong client_flag= 0;
if (opt_slave_compressed_protocol) if (opt_slave_compressed_protocol)
client_flag=CLIENT_COMPRESS; /* We will use compression */ client_flag=CLIENT_COMPRESS; /* We will use compression */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment