~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_parse.cc

  • Committer: Olaf van der Spek
  • Date: 2011-06-23 14:03:48 UTC
  • mto: This revision was merged to the branch mainline in revision 2349.
  • Revision ID: olafvdspek@gmail.com-20110623140348-rnees8v44f213rvv
Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
497
497
    drizzle_reset_errors(session, 0);
498
498
  }
499
499
 
500
 
  assert(session->transaction.stmt.hasModifiedNonTransData() == false);
 
500
  assert(not session->transaction.stmt.hasModifiedNonTransData());
501
501
 
502
502
  if (! (session->server_status & SERVER_STATUS_AUTOCOMMIT)
503
503
      && ! session->inTransaction()
504
504
      && session->lex().statement->isTransactional())
505
505
  {
506
 
    if (session->startTransaction() == false)
 
506
    if (not session->startTransaction())
507
507
    {
508
508
      my_error(drizzled::ER_UNKNOWN_ERROR, MYF(0));
509
509
      return true;
544
544
      && ! session->inTransaction()
545
545
      && ! lex->statement->isShow())
546
546
  {
547
 
    if (session->startTransaction() == false)
 
547
    if (not session->startTransaction())
548
548
    {
549
549
      my_error(drizzled::ER_UNKNOWN_ERROR, MYF(0));
550
550
      return true;
940
940
    return NULL;
941
941
  }
942
942
 
943
 
  if (table->is_derived_table() == false && table->db.str)
 
943
  if (not table->is_derived_table() && table->db.str)
944
944
  {
945
945
    my_casedn_str(files_charset_info, table->db.str);
946
946