~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzleslap.cc

  • Committer: Monty Taylor
  • Date: 2009-07-11 08:59:58 UTC
  • mto: (1093.1.12 captain)
  • mto: This revision was merged to the branch mainline in revision 1097.
  • Revision ID: mordred@inaugust.com-20090711085958-182jngk7bbe020q4
Removed dangerous asserts... mainly to upset Stewart.

Show diffs side-by-side

added added

removed removed

Lines of Context:
479
479
      run_query(con, NULL, "SET AUTOCOMMIT=0", strlen("SET AUTOCOMMIT=0"));
480
480
 
481
481
    if (pre_system)
482
 
      assert(system(pre_system)!=-1);
 
482
    {
 
483
      int ret= system(pre_system);
 
484
      assert(ret != -1);
 
485
    }
 
486
       
483
487
 
484
488
    /*
485
489
      Pre statements are always run after all other logic so they can
494
498
      run_statements(con, post_statements);
495
499
 
496
500
    if (post_system)
497
 
      assert(system(post_system)!=-1);
 
501
    {
 
502
      int ret=  system(post_system);
 
503
      assert(ret !=-1);
 
504
    }
498
505
 
499
506
    /* We are finished with this run */
500
507
    if (auto_generate_sql_autoincrement || auto_generate_sql_guid_primary)