mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 12:01:42 +01:00
MariaRocks port: rli_slave is called rgi_slave in MariaDB.
This commit is contained in:
parent
e951fd17e8
commit
085fa3e4bc
1 changed files with 3 additions and 3 deletions
|
@ -2453,7 +2453,7 @@ static Rdb_transaction *get_or_create_tx(THD *thd)
|
|||
// TODO: this is called too many times.. O(#rows)
|
||||
if (tx == nullptr)
|
||||
{
|
||||
if (rpl_skip_tx_api_var && thd->rli_slave)
|
||||
if (rpl_skip_tx_api_var && thd->rgi_slave)
|
||||
tx= new Rdb_writebatch_impl(thd);
|
||||
else
|
||||
tx= new Rdb_transaction_impl(thd);
|
||||
|
@ -2531,7 +2531,7 @@ static std::string rdb_xid_to_string(const XID& src)
|
|||
static bool rocksdb_flush_wal(handlerton* hton __attribute__((__unused__)))
|
||||
#ifdef MARIAROCKS_NOT_YET
|
||||
ulonglong target_lsn __attribute__((__unused__)))
|
||||
#else
|
||||
#endif
|
||||
{
|
||||
DBUG_ASSERT(rdb != nullptr);
|
||||
rocksdb::Status s= rdb->SyncWAL();
|
||||
|
@ -8675,7 +8675,7 @@ int ha_rocksdb::external_lock(THD *thd, int lock_type)
|
|||
|
||||
int binlog_format= my_core::thd_binlog_format(thd);
|
||||
bool unsafe_for_binlog= THDVAR(ha_thd(), unsafe_for_binlog);
|
||||
if (lock_type == F_WRLCK && !thd->rli_slave &&
|
||||
if (lock_type == F_WRLCK && !thd->rgi_slave &&
|
||||
!unsafe_for_binlog &&
|
||||
binlog_format != BINLOG_FORMAT_ROW &&
|
||||
binlog_format != BINLOG_FORMAT_UNSPEC &&
|
||||
|
|
Loading…
Add table
Reference in a new issue