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
d57d6bf5
Commit
d57d6bf5
authored
Jun 17, 2008
by
Georgi Kodinov
Browse files
Options
Browse Files
Download
Plain Diff
merge 5.1 -> 5.1-bugteam
parents
ca7defed
0a68dd1d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
mysql-test/lib/mtr_cases.pl
mysql-test/lib/mtr_cases.pl
+9
-0
sql/sql_plugin.cc
sql/sql_plugin.cc
+3
-2
No files found.
mysql-test/lib/mtr_cases.pl
View file @
d57d6bf5
...
...
@@ -773,6 +773,13 @@ sub collect_one_test_case($$$$$$$$$) {
if
(
$::used_default_engine
=~
/^innodb/i
);
}
#enable federated for this test
if
(
$tinfo
->
{'
federated_test
'})
{
push
(
@
{
$tinfo
->
{'
master_opt
'}},
"
--loose-federated
");
push
(
@
{
$tinfo
->
{'
slave_opt
'}},
"
--loose-federated
");
}
if
(
$tinfo
->
{'
big_test
'}
and
!
$::opt_big_test
)
{
$tinfo
->
{'
skip
'}
=
1
;
...
...
@@ -891,6 +898,8 @@ our @tags=
["
include/have_ndb_extra.inc
",
"
ndb_extra
",
1
],
["
include/ndb_master-slave.inc
",
"
ndb_test
",
1
],
["
require_manager
",
"
require_manager
",
1
],
["
include/federated.inc
",
"
federated_test
",
1
],
["
include/have_federated_db.inc
",
"
federated_test
",
1
],
);
sub
mtr_options_from_test_file
($$)
{
...
...
sql/sql_plugin.cc
View file @
d57d6bf5
...
...
@@ -1137,9 +1137,10 @@ int plugin_init(int *argc, char **argv, int flags)
{
for
(
plugin
=
*
builtins
;
plugin
->
info
;
plugin
++
)
{
/* by default,
only ndbcluster is
disabled */
/* by default,
ndbcluster and federated are
disabled */
def_enabled
=
my_strcasecmp
(
&
my_charset_latin1
,
plugin
->
name
,
"NDBCLUSTER"
)
!=
0
;
my_strcasecmp
(
&
my_charset_latin1
,
plugin
->
name
,
"NDBCLUSTER"
)
!=
0
&&
my_strcasecmp
(
&
my_charset_latin1
,
plugin
->
name
,
"FEDERATED"
)
!=
0
;
bzero
(
&
tmp
,
sizeof
(
tmp
));
tmp
.
plugin
=
plugin
;
tmp
.
name
.
str
=
(
char
*
)
plugin
->
name
;
...
...
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