• Konstantin Osipov's avatar
    ------------------------------------------------------------ · 411a8195
    Konstantin Osipov authored
    revno: 2617.22.4
    committer: Davi Arnaut <Davi.Arnaut@Sun.COM>
    branch nick: mysql-6.0-runtime
    timestamp: Mon 2009-01-26 15:19:14 -0200
    message:
    Move checks for OPTION_NOT_AUTOCOMMIT | OPTION_BEGIN to a separate
    helper function.
    
    
    sql/ha_ndbcluster.cc:
      Use helper method to check transaction mode.
    sql/log.cc:
      Use helper method to check transaction mode.
    sql/sql_cache.cc:
      Use helper method to check transaction mode.
    sql/sql_class.cc:
      Use helper method to check transaction mode.
    sql/sql_class.h:
      Add helper method to check whether session is in a multi-statement
      transaction.
    sql/sql_parse.cc:
      Use helper method to check transaction mode.
    sql/transaction.cc:
      Use helper method to check transaction mode.
    411a8195
log.cc 165 KB