~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzle/handshake.c

  • Committer: Lee Bieber
  • Date: 2011-03-18 04:10:25 UTC
  • mfrom: (2241.1.2 build)
  • Revision ID: kalebral@gmail.com-20110318041025-1xoj1azy6zobhnbm
Merge Stewart - refactoring of default values
Merge Olaf - more refactoring

Show diffs side-by-side

added added

removed removed

Lines of Context:
510
510
  if (con->options & DRIZZLE_CON_ADMIN)
511
511
    capabilities|= DRIZZLE_CAPABILITIES_ADMIN;
512
512
 
 
513
  if (con->options & DRIZZLE_CON_INTERACTIVE)
 
514
  {
 
515
    capabilities|= DRIZZLE_CAPABILITIES_INTERACTIVE;
 
516
  }
 
517
 
 
518
  if (con->options & DRIZZLE_CON_MULTI_STATEMENTS)
 
519
  {
 
520
    capabilities|= DRIZZLE_CAPABILITIES_MULTI_STATEMENTS;
 
521
  }
 
522
 
 
523
  if (con->options & DRIZZLE_CON_AUTH_PLUGIN)
 
524
  {
 
525
    capabilities|= DRIZZLE_CAPABILITIES_PLUGIN_AUTH;
 
526
  }
 
527
 
513
528
  capabilities&= ~(DRIZZLE_CAPABILITIES_COMPRESS | DRIZZLE_CAPABILITIES_SSL);
514
529
  if (con->db[0] == 0)
515
530
    capabilities&= ~DRIZZLE_CAPABILITIES_CONNECT_WITH_DB;