summaryrefslogtreecommitdiff
path: root/storage/rocksdb
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2020-02-27 16:00:43 +0100
committerSergei Golubchik <serg@mariadb.org>2020-03-10 19:24:23 +0100
commitcbede21d0d27b069a7d1077524e187cc7556ffee (patch)
tree21997b21f35e00e90cf02a8b9fc9b0f995b38b5f /storage/rocksdb
parent211421d5cc999226e2badca28497f3caed06aee6 (diff)
downloadmariadb-git-cbede21d0d27b069a7d1077524e187cc7556ffee.tar.gz
cleanup: pass trxid by value
Diffstat (limited to 'storage/rocksdb')
-rw-r--r--storage/rocksdb/ha_rocksdb.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/rocksdb/ha_rocksdb.cc b/storage/rocksdb/ha_rocksdb.cc
index 711aaaaa173..3b2314d3f42 100644
--- a/storage/rocksdb/ha_rocksdb.cc
+++ b/storage/rocksdb/ha_rocksdb.cc
@@ -4788,10 +4788,10 @@ static inline void rocksdb_register_tx(handlerton *const hton, THD *const thd,
Rdb_transaction *const tx) {
DBUG_ASSERT(tx != nullptr);
- trans_register_ha(thd, FALSE, rocksdb_hton, NULL);
+ trans_register_ha(thd, FALSE, rocksdb_hton, 0);
if (my_core::thd_test_options(thd, OPTION_NOT_AUTOCOMMIT | OPTION_BEGIN)) {
tx->start_stmt();
- trans_register_ha(thd, TRUE, rocksdb_hton, NULL);
+ trans_register_ha(thd, TRUE, rocksdb_hton, 0);
}
}