diff options
author | Sergei Golubchik <serg@mariadb.org> | 2020-09-23 12:24:16 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2020-10-24 11:15:51 +0200 |
commit | 606a281162b0576792fd540d167279ed76f32293 (patch) | |
tree | 3c2bccf5f855efa58e75597fbc1b1f7c18af46d2 /storage/tokudb/ha_tokudb.cc | |
parent | 73a2ae9f89978a7108bdbe8bc450e855f059d3b6 (diff) | |
download | mariadb-git-606a281162b0576792fd540d167279ed76f32293.tar.gz |
MDEV-22100 TokuDB compilation error
fix TokuDB to compile with the perfschema
Diffstat (limited to 'storage/tokudb/ha_tokudb.cc')
-rw-r--r-- | storage/tokudb/ha_tokudb.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/storage/tokudb/ha_tokudb.cc b/storage/tokudb/ha_tokudb.cc index 4555ab3a862..53feb5e430a 100644 --- a/storage/tokudb/ha_tokudb.cc +++ b/storage/tokudb/ha_tokudb.cc @@ -6387,7 +6387,7 @@ int ha_tokudb::create_txn(THD* thd, tokudb_trx_data* trx) { "created master %p", trx->all); trx->sp_level = trx->all; - trans_register_ha(thd, true, tokudb_hton); + trans_register_ha(thd, true, tokudb_hton, 0); } DBUG_PRINT("trans", ("starting transaction stmt")); if (trx->stmt) { @@ -6429,7 +6429,7 @@ int ha_tokudb::create_txn(THD* thd, tokudb_trx_data* trx) { trx->sp_level, trx->stmt); reset_stmt_progress(&trx->stmt_progress); - trans_register_ha(thd, false, tokudb_hton); + trans_register_ha(thd, false, tokudb_hton, 0); cleanup: return error; } @@ -6594,7 +6594,7 @@ int ha_tokudb::start_stmt(THD* thd, thr_lock_type lock_type) { share->rows_from_locked_table = added_rows - deleted_rows; } transaction = trx->sub_sp_level; - trans_register_ha(thd, false, tokudb_hton); + trans_register_ha(thd, false, tokudb_hton, 0); cleanup: TOKUDB_HANDLER_DBUG_RETURN(error); } |