Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions storage/rocksdb/ha_rocksdb.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16668,6 +16668,10 @@ double ha_rocksdb::read_time(uint index, uint ranges, ha_rows rows) {
DBUG_RETURN((rows / 20.0) + 1);
}

longlong ha_rocksdb::get_memory_buffer_size() const {
return rocksdb_block_cache_size;
}

void ha_rocksdb::print_error(int error, myf errflag) {
switch (error) {
case HA_ERR_ROCKSDB_STATUS_BUSY:
Expand Down
1 change: 1 addition & 0 deletions storage/rocksdb/ha_rocksdb.h
Original file line number Diff line number Diff line change
Expand Up @@ -612,6 +612,7 @@ class ha_rocksdb : public my_core::handler, public blob_buffer {
}

virtual double read_time(uint, uint, ha_rows rows) override;
longlong get_memory_buffer_size() const override;
virtual void print_error(int error, myf errflag) override;

int open(const char *const name, int mode, uint test_if_locked,
Expand Down