File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed
storage/rocksdb/mysql-test Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 1
1
package My::Suite::Rocksdb ;
2
2
3
+ #
4
+ # Note: ../rocksdb_sys_vars/suite.pm file has a similar
5
+ # function. If you modify this file, consider modifying that one, too.
6
+ #
3
7
@ISA = qw( My::Suite) ;
4
8
use My::Find;
5
9
use File::Basename;
Original file line number Diff line number Diff line change 1
1
package My::Suite::Rocksdb_sys_vars ;
2
2
3
+ #
4
+ # Note: The below is copied from ../rocksdb/suite.pm
5
+ #
3
6
@ISA = qw( My::Suite) ;
7
+ use My::Find;
8
+ use File::Basename;
9
+ use strict;
4
10
5
11
sub is_default { not $: :opt_embedded_server }
6
12
13
+ my $sst_dump =
14
+ ::mtr_exe_maybe_exists(
15
+ " $: :bindir/storage/rocksdb$: :opt_vs_config/sst_dump" ,
16
+ " $: :path_client_bindir/sst_dump" );
17
+ return " RocksDB is not compiled, no sst_dump" unless $sst_dump ;
18
+ $ENV {MARIAROCKS_SST_DUMP }=" $sst_dump " ;
19
+
7
20
bless { };
8
21
You can’t perform that action at this time.
0 commit comments