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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
d68194c7
Commit
d68194c7
authored
Aug 25, 2008
by
Matthias Leich
Browse files
Options
Browse Files
Download
Plain Diff
Upmerge 5.0 -> 5.1 of fix for
Bug#26687 rpl_ddl test fails if run with --innodb option
parents
491dc138
5f2354b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
mysql-test/extra/rpl_tests/rpl_ddl.test
mysql-test/extra/rpl_tests/rpl_ddl.test
+14
-0
No files found.
mysql-test/extra/rpl_tests/rpl_ddl.test
View file @
d68194c7
...
...
@@ -151,6 +151,20 @@ DROP DATABASE IF EXISTS mysqltest3;
CREATE
DATABASE
mysqltest1
;
CREATE
DATABASE
mysqltest2
;
eval
CREATE
TABLE
mysqltest1
.
t1
(
f1
BIGINT
)
ENGINE
=
$engine_type
;
# Prevent Bug#26687 rpl_ddl test fails if run with --innodb option
# The testscript (suite/rpl/rpl_ddl.test) + the expected result need that the
# slave uses MyISAM for the table mysqltest.t1.
# This is not valid in case of suite/rpl_ndb/rpl_ndb_ddl.test which sources
# also this script.
sync_slave_with_master
;
connection
slave
;
if
(
`SELECT COUNT(*) FROM INFORMATION_SCHEMA.TABLES
WHERE TABLE_SCHEMA = 'mysqltest1' AND TABLE_NAME = 't1'
AND ENGINE <> 'MyISAM' AND '$engine_type' <> 'NDB'`
)
{
skip
This
test
needs
on
slave
side
:
InnoDB
disabled
,
default
engine
:
MyISAM
;
}
connection
master
;
INSERT
INTO
mysqltest1
.
t1
SET
f1
=
0
;
eval
CREATE
TABLE
mysqltest1
.
t2
(
f1
BIGINT
)
ENGINE
=
$engine_type
;
eval
CREATE
TABLE
mysqltest1
.
t3
(
f1
BIGINT
)
ENGINE
=
$engine_type
;
...
...
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