Commit 46a78868 authored by Sergei Petrunia's avatar Sergei Petrunia

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.
parent 23f9bb96
......@@ -19,8 +19,9 @@ EOF
# Must ensure this directory exists before launching mysqld
mkdir $ddir;
let $plugin_dir=`select @@plugin_dir`;
# Launch mysqld with non-standard rocksdb_datadir
exec $MYSQLD_BOOTSTRAP_CMD --datadir=$ddir --rocksdb_datadir=$rdb_ddir --default-storage-engine=rocksdb --skip-innodb --default-tmp-storage-engine=MyISAM --rocksdb < $sql_file;
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;
--echo Check for the number of MANIFEST files
exec ls $rdb_ddir/MANIFEST-0000* | wc -l;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment