~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzleslap.cc

  • Committer: Brian Aker
  • Date: 2011-11-24 00:05:44 UTC
  • mto: This revision was merged to the branch mainline in revision 2465.
  • Revision ID: brian@tangent.org-20111124000544-186obn61qr3b7r9x
First pass, drizzle_create() no longer takes an argument. This means that we can now change drizzle_st without being concerned about ABI.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2388
2388
  if (opt_delayed_start)
2389
2389
    usleep(random()%opt_delayed_start);
2390
2390
 
2391
 
  if ((drizzle= drizzle_create(NULL)) == NULL ||
 
2391
  if ((drizzle= drizzle_create()) == NULL or
2392
2392
      drizzle_con_add_tcp(drizzle, &con, host.c_str(), opt_drizzle_port,
2393
2393
        user.c_str(),
2394
2394
        opt_password.c_str(),
2402
2402
  drizzle_set_context(drizzle, (void*)(connection_count.fetch_and_increment()));
2403
2403
 
2404
2404
  if (opt_only_print)
 
2405
  {
2405
2406
    return;
 
2407
  }
2406
2408
 
2407
2409
  for (uint32_t x= 0; x < 10; x++)
2408
2410
  {