Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
d4f3c5c4
Commit
d4f3c5c4
authored
Aug 30, 2018
by
Sergei Petrunia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MyRocks: post-merge fixes part #7: make rocksdb.check_ignore_unknown_options test pass
parent
290368e7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
storage/rocksdb/mysql-test/rocksdb/t/check_ignore_unknown_options.test
...db/mysql-test/rocksdb/t/check_ignore_unknown_options.test
+3
-4
No files found.
storage/rocksdb/mysql-test/rocksdb/t/check_ignore_unknown_options.test
View file @
d4f3c5c4
...
...
@@ -8,9 +8,8 @@ let $restart_file= $MYSQLTEST_VARDIR/tmp/mysqld.1.expect;
let
$error_log
=
$MYSQLTEST_VARDIR
/
log
/
my_restart
.
err
;
select
variable_name
,
variable_value
from
information_schema
.
global_variables
where
variable_name
=
"rocksdb_ignore_unknown_options"
;
--
exec
find
$MYSQLD_DATADIR
/
#rocksdb/OPTIONS* | sort -n | tail -1 | xargs -0 -I {} -t sh -c "echo hello=world>>{}"
# --exec find $MYSQLD_DATADIR/.rocksdb/OPTIONS* | sort -t- -k 2 -n | tail -1 | xargs -0 -I {} -t sh -c "sed -i 's/rocksdb_version=.*/rocksdb_version=99.9.9/' {}"
# --exec find $MYSQLD_DATADIR/.rocksdb/OPTIONS* | sort -t- -k 2 -n | tail -1 | xargs -0 -I {} -t sh -c "echo hello=world>>{}"
--
exec
find
$MYSQLD_DATADIR
/
#rocksdb/OPTIONS* | sort -t- -k 2 -n | tail -1 | xargs -0 -I {} -t sh -c "sed -i 's/rocksdb_version=.*/rocksdb_version=99.9.9/' {}"
--
exec
find
$MYSQLD_DATADIR
/
#rocksdb/OPTIONS* | sort -t- -k 2 -n | tail -1 | xargs -0 -I {} -t sh -c "echo hello=world>>{}"
--
exec
echo
"wait"
>
$MYSQLTEST_VARDIR
/
tmp
/
mysqld
.
1.
expect
...
...
@@ -22,8 +21,8 @@ select variable_name, variable_value from information_schema.global_variables wh
let
SEARCH_FILE
=
$error_log
;
let
SEARCH_PATTERN
=
RocksDB
:
Compatibility
check
against
existing
database
options
failed
;
--
source
include
/
search_pattern_in_file
.
inc
--
remove_file
$error_log
--
enable_reconnect
--
exec
echo
"restart"
>
$restart_file
--
source
include
/
wait_until_connected_again
.
inc
--
exec
find
$MYSQLD_DATADIR
/
#rocksdb/OPTIONS* | sort -n | tail -1 | xargs -0 -I {} -t sh -c "sed -i'' -e '/hello=world/d' {}"
select
variable_name
,
variable_value
from
information_schema
.
global_variables
where
variable_name
=
"rocksdb_ignore_unknown_options"
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment