mirror of
https://github.com/MariaDB/server.git
synced 2025-01-23 15:24:16 +01:00
MariaRocks port: disable thd_store_lsn() call
It is from "write/sync redo log before flushing binlog cache to file" feature that MariaDB doesn't have (or need?)
This commit is contained in:
parent
1dead2d213
commit
8cde1d449a
1 changed files with 5 additions and 0 deletions
|
@ -2578,10 +2578,15 @@ static int rocksdb_prepare(handlerton* hton, THD* thd, bool prepare_tx)
|
|||
return 1;
|
||||
}
|
||||
if (thd->durability_property == HA_IGNORE_DURABILITY) {
|
||||
#ifdef MARIAROCKS_NOT_YET
|
||||
// MariaRocks: disable the
|
||||
// "write/sync redo log before flushing binlog cache to file"
|
||||
// feature. See a869c56d361bb44f46c0efeb11a8f03561676247
|
||||
/**
|
||||
we set the log sequence as '1' just to trigger hton->flush_logs
|
||||
*/
|
||||
thd_store_lsn(thd, 1, DB_TYPE_ROCKSDB);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue