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
2fd77064
Commit
2fd77064
authored
Oct 12, 2018
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert the last change to replication test
disable rpl_mdev382 on Windows, due to unix shell escaping used there.
parent
00c40efc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
mysql-test/suite/rpl/t/rpl_mdev382.test
mysql-test/suite/rpl/t/rpl_mdev382.test
+2
-1
No files found.
mysql-test/suite/rpl/t/rpl_mdev382.test
View file @
2fd77064
--
source
include
/
have_innodb
.
inc
--
source
include
/
have_innodb
.
inc
--
source
include
/
have_binlog_format_statement
.
inc
--
source
include
/
have_binlog_format_statement
.
inc
--
source
include
/
master
-
slave
.
inc
--
source
include
/
master
-
slave
.
inc
--
source
include
/
not_windows
.
inc
#unix shell escaping used for mysqlbinlog
# MDEV-382: multiple SQL injections in replication code.
# MDEV-382: multiple SQL injections in replication code.
...
@@ -257,7 +258,7 @@ let $binlog_start= query_get_value(SHOW MASTER STATUS, Position, 1);
...
@@ -257,7 +258,7 @@ let $binlog_start= query_get_value(SHOW MASTER STATUS, Position, 1);
INSERT
INTO
t1
VALUES
(
1
);
INSERT
INTO
t1
VALUES
(
1
);
--
source
include
/
show_binlog_events2
.
inc
--
source
include
/
show_binlog_events2
.
inc
let
$pos2
=
query_get_value
(
SHOW
MASTER
STATUS
,
Position
,
1
);
let
$pos2
=
query_get_value
(
SHOW
MASTER
STATUS
,
Position
,
1
);
--
exec
$MYSQL_BINLOG
--
short
-
form
--
start
-
position
=
$binlog_start
--
stop
-
position
=
$pos2
"--rewrite-db=test->ts`et"
$MYSQLD_DATADIR
/
master
-
bin
.
000002
--
exec
$MYSQL_BINLOG
--
short
-
form
--
start
-
position
=
$binlog_start
--
stop
-
position
=
$pos2
--
rewrite
-
db
=
'test->ts`et'
$MYSQLD_DATADIR
/
master
-
bin
.
000002
DROP
TABLE
t1
;
DROP
TABLE
t1
;
--
source
include
/
rpl_end
.
inc
--
source
include
/
rpl_end
.
inc
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