~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzleslap.cc

  • Committer: Stewart Smith
  • Date: 2008-10-15 03:34:41 UTC
  • mto: This revision was merged to the branch mainline in revision 516.
  • Revision ID: stewart@flamingspork.com-20081015033441-2zgglsrsqvdnsvnz
missing check of return values to system()

TODO: probably shouldn't be asserts

Show diffs side-by-side

added added

removed removed

Lines of Context:
470
470
      run_query(drizzle, "SET AUTOCOMMIT=0", strlen("SET AUTOCOMMIT=0"));
471
471
 
472
472
    if (pre_system)
473
 
      system(pre_system);
 
473
      assert(system(pre_system)!=-1);
474
474
 
475
475
    /*
476
476
      Pre statements are always run after all other logic so they can
485
485
      run_statements(drizzle, post_statements);
486
486
 
487
487
    if (post_system)
488
 
      system(post_system);
 
488
      assert(system(post_system)!=-1);
489
489
 
490
490
    /* We are finished with this run */
491
491
    if (auto_generate_sql_autoincrement || auto_generate_sql_guid_primary)