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 { ...@@ -1261,9 +1261,6 @@ struct trx_t {
transaction branch */ transaction branch */
trx_mod_tables_t mod_tables; /*!< List of tables that were modified trx_mod_tables_t mod_tables; /*!< List of tables that were modified
by this transaction */ by this transaction */
/*------------------------------*/
bool read_write; /*!< if read and write operation */
/*------------------------------*/ /*------------------------------*/
char* detailed_error; /*!< detailed error message for last char* detailed_error; /*!< detailed error message for last
error, or empty. */ error, or empty. */
......
...@@ -462,8 +462,6 @@ trx_create_low() ...@@ -462,8 +462,6 @@ trx_create_low()
/* We just got trx from pool, it should be non locking */ /* We just got trx from pool, it should be non locking */
ut_ad(trx->will_lock == 0); ut_ad(trx->will_lock == 0);
trx->read_write = true;
/* Background trx should not be forced to rollback, /* Background trx should not be forced to rollback,
we will unset the flag for user trx. */ we will unset the flag for user trx. */
trx->in_innodb |= TRX_FORCE_ROLLBACK_DISABLE; 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