Skip to content

Commit

Permalink
MariaRocks: make rocksdb.rocksdb_datadir test pass
Browse files Browse the repository at this point in the history
The test runs $MYSQLD_BOOTSTRAP_CMD but that command does not include
arguments for loading ha_rocksdb.so plugin. Add them.
  • Loading branch information
spetrunia committed Mar 16, 2017
1 parent 23f9bb9 commit 46a7886
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion storage/rocksdb/mysql-test/rocksdb/t/rocksdb_datadir.test
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 46a7886

Please sign in to comment.