Commit e951fd17 authored by Sergei Petrunia's avatar Sergei Petrunia

MariaRocks port: make rocksdb_flush_wal() match handlerton::flush_logs definition

The original parameter comes from
commit a869c56d361bb44f46c0efeb11a8f03561676247
write/sync redo log before flushing binlog cache to file

we've already disabled some of that patch in
8cde1d44
parent 960fbc38
......@@ -2528,8 +2528,10 @@ static std::string rdb_xid_to_string(const XID& src)
Called by hton->flush_logs after MySQL group commit prepares a set of
transactions.
*/
static bool rocksdb_flush_wal(handlerton* hton __attribute__((__unused__)),
static bool rocksdb_flush_wal(handlerton* hton __attribute__((__unused__)))
#ifdef MARIAROCKS_NOT_YET
ulonglong target_lsn __attribute__((__unused__)))
#else
{
DBUG_ASSERT(rdb != nullptr);
rocksdb::Status s= rdb->SyncWAL();
......
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