summaryrefslogtreecommitdiffstats
path: root/storage/rocksdb/mysql-test/rocksdb_sys_vars/suite.pm
blob: 5264d657ef7f4825d40612cf3e99d37d9176e97e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package My::Suite::Rocksdb_sys_vars;

#
# Note: The below is copied from ../rocksdb/suite.pm
#
@ISA = qw(My::Suite);
use My::Find;
use File::Basename;
use strict;

#sub is_default { not $::opt_embedded_server }

my $sst_dump=
::mtr_exe_maybe_exists(
  "$::bindir/storage/rocksdb$::opt_vs_config/sst_dump",
  "$::path_client_bindir/sst_dump");
return "RocksDB is not compiled, no sst_dump" unless $sst_dump;
$ENV{MARIAROCKS_SST_DUMP}="$sst_dump";

bless { };