• heikki@hundin.mysql.fi's avatar
    ha_innodb.cc: · cd25fe2f
    heikki@hundin.mysql.fi authored
      In TRUNCATE TABLE, MySQL may call innobase_xa_prepare() even though there is no active transaction because it was committed in ha_innobase::delete_all_rows(); in innobase_xa_prepare() InnoDB starts then a new transaction; let us adjust the trx->active_trans flag accordingly
    cd25fe2f
ha_innodb.cc 184 KB