~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzle/handshake.c

  • Committer: Monty Taylor
  • Date: 2011-01-26 19:15:55 UTC
  • mto: This revision was merged to the branch mainline in revision 2126.
  • Revision ID: mordred@inaugust.com-20110126191555-nq5nnzyscvngsip2
Turns on -fvisibility=hidden by default. Symbols intended to be used by
plugins need to be marked with DRIZZLED_API.

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
 
 
528
513
  capabilities&= ~(DRIZZLE_CAPABILITIES_COMPRESS | DRIZZLE_CAPABILITIES_SSL);
529
514
  if (con->db[0] == 0)
530
515
    capabilities&= ~DRIZZLE_CAPABILITIES_CONNECT_WITH_DB;