~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzle/handshake.c

  • Committer: Brian Aker
  • Date: 2010-12-08 18:53:46 UTC
  • mto: This revision was merged to the branch mainline in revision 1983.
  • Revision ID: brian@tangent.org-20101208185346-89uak2ofyivk1yss
Update schema, make sure that it always ruturns a valid string (it just
makes the entire interface simpler to use).

Show diffs side-by-side

added added

removed removed

Lines of Context:
507
507
  if (!(con->options & DRIZZLE_CON_FOUND_ROWS))
508
508
    capabilities&= ~DRIZZLE_CAPABILITIES_FOUND_ROWS;
509
509
 
510
 
  if (con->options & DRIZZLE_CON_ADMIN)
511
 
    capabilities|= DRIZZLE_CAPABILITIES_ADMIN;
512
 
 
513
510
  capabilities&= ~(DRIZZLE_CAPABILITIES_COMPRESS | DRIZZLE_CAPABILITIES_SSL);
514
511
  if (con->db[0] == 0)
515
512
    capabilities&= ~DRIZZLE_CAPABILITIES_CONNECT_WITH_DB;