~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to examples/sqlite_server.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:
169
169
    return 1;
170
170
  }
171
171
 
172
 
  drizzle_add_options(server->drizzle, DRIZZLE_FREE_OBJECTS);
 
172
  drizzle_set_option(server->drizzle, DRIZZLE_FREE_OBJECTS, true);
173
173
  drizzle_set_verbose(server->drizzle, server->verbose);
174
174
 
175
175
  if (drizzle_con_create(server->drizzle, con_listen) == NULL)