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
445454f7
Commit
445454f7
authored
Oct 14, 2009
by
Georgi Kodinov
Browse files
Options
Browse Files
Download
Plain Diff
merged 5.1-main
parents
61021314
b9a794d1
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
12 deletions
+26
-12
.bzr-mysql/default.conf
.bzr-mysql/default.conf
+1
-1
configure.in
configure.in
+1
-1
mysql-test/lib/mtr_cases.pm
mysql-test/lib/mtr_cases.pm
+24
-10
No files found.
.bzr-mysql/default.conf
View file @
445454f7
[
MYSQL
]
[
MYSQL
]
post_commit_to
=
"commits@lists.mysql.com"
post_commit_to
=
"commits@lists.mysql.com"
post_push_to
=
"commits@lists.mysql.com"
post_push_to
=
"commits@lists.mysql.com"
tree_name
=
"mysql-5.1
-bugteam
"
tree_name
=
"mysql-5.1"
configure.in
View file @
445454f7
...
@@ -10,7 +10,7 @@ AC_CANONICAL_SYSTEM
...
@@ -10,7 +10,7 @@ AC_CANONICAL_SYSTEM
#
#
# When changing major version number please also check switch statement
# When changing major version number please also check switch statement
# in mysqlbinlog::check_master_version().
# in mysqlbinlog::check_master_version().
AM_INIT_AUTOMAKE
(
mysql, 5.1.4
0
)
AM_INIT_AUTOMAKE
(
mysql, 5.1.4
1
)
AM_CONFIG_HEADER
([
include/config.h:config.h.in]
)
AM_CONFIG_HEADER
([
include/config.h:config.h.in]
)
PROTOCOL_VERSION
=
10
PROTOCOL_VERSION
=
10
...
...
mysql-test/lib/mtr_cases.pm
View file @
445454f7
...
@@ -69,6 +69,10 @@ require "mtr_misc.pl";
...
@@ -69,6 +69,10 @@ require "mtr_misc.pl";
my
$do_test_reg
;
my
$do_test_reg
;
my
$skip_test_reg
;
my
$skip_test_reg
;
# Related to adding InnoDB plugin combinations
my
$lib_innodb_plugin
;
my
$do_innodb_plugin
;
# If "Quick collect", set to 1 once a test to run has been found.
# If "Quick collect", set to 1 once a test to run has been found.
my
$some_test_found
;
my
$some_test_found
;
...
@@ -103,6 +107,17 @@ sub collect_test_cases ($$) {
...
@@ -103,6 +107,17 @@ sub collect_test_cases ($$) {
$do_test_reg
=
init_pattern
(
$do_test
,
"
--do-test
");
$do_test_reg
=
init_pattern
(
$do_test
,
"
--do-test
");
$skip_test_reg
=
init_pattern
(
$skip_test
,
"
--skip-test
");
$skip_test_reg
=
init_pattern
(
$skip_test
,
"
--skip-test
");
$lib_innodb_plugin
=
my_find_file
(
$::basedir
,
["
storage/innodb_plugin
",
"
storage/innodb_plugin/.libs
",
"
lib/mysql/plugin
",
"
lib/plugin
"],
["
ha_innodb_plugin.dll
",
"
ha_innodb_plugin.so
",
"
ha_innodb_plugin.sl
"],
NOT_REQUIRED
);
$do_innodb_plugin
=
(
$::mysql_version_id
>=
50100
&&
!
(
IS_WINDOWS
&&
$::opt_embedded_server
)
&&
$lib_innodb_plugin
);
foreach
my
$suite
(
split
("
,
",
$suites
))
foreach
my
$suite
(
split
("
,
",
$suites
))
{
{
push
(
@$cases
,
collect_one_suite
(
$suite
,
$opt_cases
));
push
(
@$cases
,
collect_one_suite
(
$suite
,
$opt_cases
));
...
@@ -484,20 +499,16 @@ sub collect_one_suite($)
...
@@ -484,20 +499,16 @@ sub collect_one_suite($)
# ----------------------------------------------------------------------
# ----------------------------------------------------------------------
# Testing InnoDB plugin.
# Testing InnoDB plugin.
# ----------------------------------------------------------------------
# ----------------------------------------------------------------------
my
$lib_innodb_plugin
=
if
(
$do_innodb_plugin
)
mtr_file_exists
(
::
vs_config_dirs
('
storage/innodb_plugin
',
'
ha_innodb_plugin.dll
'),
"
$::basedir/storage/innodb_plugin/.libs/ha_innodb_plugin.so
",
"
$::basedir/lib/mysql/plugin/ha_innodb_plugin.so
",
"
$::basedir/lib/mysql/plugin/ha_innodb_plugin.dll
");
if
(
$::mysql_version_id
>=
50100
&&
!
(
IS_WINDOWS
&&
$::opt_embedded_server
)
&&
$lib_innodb_plugin
)
{
{
my
@new_cases
;
my
@new_cases
;
my
$sep
=
(
IS_WINDOWS
)
?
'
;
'
:
'
:
';
my
$sep
=
(
IS_WINDOWS
)
?
'
;
'
:
'
:
';
foreach
my
$test
(
@cases
)
foreach
my
$test
(
@cases
)
{
{
next
if
(
$test
->
{'
skip
'}
||
!
$test
->
{'
innodb_test
'});
next
if
(
!
$test
->
{'
innodb_test
'});
# If skipped due to no builtin innodb, we can still run it with plugin
next
if
(
$test
->
{'
skip
'}
&&
$test
->
{
comment
}
ne
"
No innodb support
");
# Exceptions
# Exceptions
next
if
(
$test
->
{'
name
'}
eq
'
main.innodb
');
# Failed with wrong errno (fk)
next
if
(
$test
->
{'
name
'}
eq
'
main.innodb
');
# Failed with wrong errno (fk)
next
if
(
$test
->
{'
name
'}
eq
'
main.index_merge_innodb
');
# Explain diff
next
if
(
$test
->
{'
name
'}
eq
'
main.index_merge_innodb
');
# Explain diff
...
@@ -521,7 +532,7 @@ sub collect_one_suite($)
...
@@ -521,7 +532,7 @@ sub collect_one_suite($)
}
}
else
else
{
{
$new_test
->
{
$key
}
=
$value
;
$new_test
->
{
$key
}
=
$value
unless
(
$key
eq
'
skip
')
;
}
}
}
}
my
$plugin_filename
=
basename
(
$lib_innodb_plugin
);
my
$plugin_filename
=
basename
(
$lib_innodb_plugin
);
...
@@ -981,8 +992,11 @@ sub collect_one_test_case {
...
@@ -981,8 +992,11 @@ sub collect_one_test_case {
{
{
# innodb is not supported, skip it
# innodb is not supported, skip it
$tinfo
->
{'
skip
'}
=
1
;
$tinfo
->
{'
skip
'}
=
1
;
# This comment is checked for running with innodb plugin (see above),
# please keep that in mind if changing the text.
$tinfo
->
{'
comment
'}
=
"
No innodb support
";
$tinfo
->
{'
comment
'}
=
"
No innodb support
";
return
$tinfo
;
# But continue processing if we may run it with innodb plugin
return
$tinfo
unless
$do_innodb_plugin
;
}
}
}
}
else
else
...
...
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