Skip to content

Commit e951fd1

Browse files
committed
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 8cde1d4
1 parent 960fbc3 commit e951fd1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

storage/rocksdb/ha_rocksdb.cc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2528,8 +2528,10 @@ static std::string rdb_xid_to_string(const XID& src)
25282528
Called by hton->flush_logs after MySQL group commit prepares a set of
25292529
transactions.
25302530
*/
2531-
static bool rocksdb_flush_wal(handlerton* hton __attribute__((__unused__)),
2531+
static bool rocksdb_flush_wal(handlerton* hton __attribute__((__unused__)))
2532+
#ifdef MARIAROCKS_NOT_YET
25322533
ulonglong target_lsn __attribute__((__unused__)))
2534+
#else
25332535
{
25342536
DBUG_ASSERT(rdb != nullptr);
25352537
rocksdb::Status s= rdb->SyncWAL();

0 commit comments

Comments
 (0)