Skip to content

Commit 46a7886

Browse files
committed
MariaRocks: make rocksdb.rocksdb_datadir test pass
The test runs $MYSQLD_BOOTSTRAP_CMD but that command does not include arguments for loading ha_rocksdb.so plugin. Add them.
1 parent 23f9bb9 commit 46a7886

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

storage/rocksdb/mysql-test/rocksdb/t/rocksdb_datadir.test

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@ EOF
1919
# Must ensure this directory exists before launching mysqld
2020
mkdir $ddir;
2121

22+
let $plugin_dir=`select @@plugin_dir`;
2223
# Launch mysqld with non-standard rocksdb_datadir
23-
exec $MYSQLD_BOOTSTRAP_CMD --datadir=$ddir --rocksdb_datadir=$rdb_ddir --default-storage-engine=rocksdb --skip-innodb --default-tmp-storage-engine=MyISAM --rocksdb < $sql_file;
24+
exec $MYSQLD_BOOTSTRAP_CMD --plugin-dir=$plugin_dir --plugin-load=$HA_ROCKSDB_SO --datadir=$ddir --rocksdb_datadir=$rdb_ddir --default-storage-engine=rocksdb --skip-innodb --default-tmp-storage-engine=MyISAM --rocksdb < $sql_file;
2425

2526
--echo Check for the number of MANIFEST files
2627
exec ls $rdb_ddir/MANIFEST-0000* | wc -l;

0 commit comments

Comments
 (0)