~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to examples/proxy.cc

  • Committer: Brian Aker
  • Date: 2011-11-24 03:44:17 UTC
  • mto: This revision was merged to the branch mainline in revision 2465.
  • Revision ID: brian@tangent.org-20111124034417-aafezwidyzjhg6a3
Redo the way options are handled.

Show diffs side-by-side

added added

removed removed

Lines of Context:
155
155
    return 1;
156
156
  }
157
157
 
158
 
  drizzle_add_options(drizzle, DRIZZLE_FREE_OBJECTS);
 
158
  drizzle_set_option(drizzle, DRIZZLE_FREE_OBJECTS, true);
159
159
  drizzle_set_verbose(drizzle, verbose);
160
160
 
161
161
  if (drizzle_con_create(drizzle, con_listen) == NULL)