~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/session.cc

Removed client_capabilities from session and pushed functionality into protocol plugin.

Show diffs side-by-side

added added

removed removed

Lines of Context:
223
223
  replication_data= 0;
224
224
  mysys_var= 0;
225
225
  dbug_sentry=Session_SENTRY_MAGIC;
226
 
  client_capabilities= 0;                       // minimalistic client
227
226
  cleanup_done= abort_on_warning= no_warnings_for_error= false;
228
227
  peer_port= 0;                                 // For SHOW PROCESSLIST
229
228
  transaction.on= 1;
573
572
{
574
573
  if (variables.max_join_size == HA_POS_ERROR)
575
574
    options |= OPTION_BIG_SELECTS;
576
 
  if (client_capabilities & CLIENT_COMPRESS)
577
 
  {
578
 
    protocol->enableCompression();
579
 
  }
580
575
 
581
576
  version= refresh_version;
582
577
  set_proc_info(NULL);