Commit 588eca31 authored by Marko Mäkelä's avatar Marko Mäkelä

Post-fix for MDEV-12050 Remove unused InnoDB Memcached hooks

Remove also the field trx_t::read_write that was only used by
the Memcached hooks.
parent a45866c6
......@@ -1261,9 +1261,6 @@ struct trx_t {
transaction branch */
trx_mod_tables_t mod_tables; /*!< List of tables that were modified
by this transaction */
/*------------------------------*/
bool read_write; /*!< if read and write operation */
/*------------------------------*/
char* detailed_error; /*!< detailed error message for last
error, or empty. */
......
......@@ -462,8 +462,6 @@ trx_create_low()
/* We just got trx from pool, it should be non locking */
ut_ad(trx->will_lock == 0);
trx->read_write = true;
/* Background trx should not be forced to rollback,
we will unset the flag for user trx. */
trx->in_innodb |= TRX_FORCE_ROLLBACK_DISABLE;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment