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
b90b2cfe
Commit
b90b2cfe
authored
Feb 06, 2012
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
per-file combinations
parent
76776fc2
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
142 additions
and
158 deletions
+142
-158
mysql-test/include/rpl_init.combinations
mysql-test/include/rpl_init.combinations
+0
-0
mysql-test/lib/My/Config.pm
mysql-test/lib/My/Config.pm
+6
-0
mysql-test/lib/My/Test.pm
mysql-test/lib/My/Test.pm
+2
-2
mysql-test/lib/mtr_cases.pm
mysql-test/lib/mtr_cases.pm
+126
-153
mysql-test/lib/mtr_misc.pl
mysql-test/lib/mtr_misc.pl
+5
-0
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+2
-2
mysql-test/suite/rpl/t/rpl_create_tmp_table_if_not_exists.test
...-test/suite/rpl/t/rpl_create_tmp_table_if_not_exists.test
+1
-1
No files found.
mysql-test/
suite/rpl/
combinations
→
mysql-test/
include/rpl_init.
combinations
View file @
b90b2cfe
File moved
mysql-test/lib/My/Config.pm
View file @
b90b2cfe
...
...
@@ -165,6 +165,8 @@ sub value {
}
sub
auto
{
0
};
#
# Return value for an option if it exist
#
...
...
@@ -189,6 +191,8 @@ sub new {
bless
My::Config::
Group
->
new
(
$group_name
),
$class
;
}
sub
auto
{
1
};
#
# Return value for an option in the group, fail if it does not exist
#
...
...
@@ -214,6 +218,8 @@ use strict;
use
warnings
;
use
Carp
;
sub
auto
{
1
};
sub
new
{
my
(
$class
,
$group_name
)
=
@_
;
bless
My::Config::
Group
->
new
(
$group_name
),
$class
;
...
...
mysql-test/lib/My/Test.pm
View file @
b90b2cfe
...
...
@@ -37,8 +37,8 @@ sub new {
sub
fullname
{
my
(
$self
)
=
@_
;
$self
->
{
name
}
.
(
defined
$self
->
{
combination
}
?
"
'
$self
->{combination}
'
"
$self
->
{
name
}
.
(
defined
$self
->
{
combination
s
}
?
"
'
"
.
join
('
,
',
sort
@
{
$self
->
{
combinations
}})
.
"
'
"
:
"")
}
...
...
mysql-test/lib/mtr_cases.pm
View file @
b90b2cfe
This diff is collapsed.
Click to expand it.
mysql-test/lib/mtr_misc.pl
View file @
b90b2cfe
...
...
@@ -263,6 +263,11 @@ sub mtr_wait_lock_file {
return
(
$waited
);
}
sub
uniq
(@)
{
my
%
seen
=
map
{
$_
=>
$_
}
@_
;
values
%
seen
;
}
# Simple functions to start and check timers (have to be actively polled)
# Timer can be "killed" by setting it to 0
...
...
mysql-test/mysql-test-run.pl
View file @
b90b2cfe
...
...
@@ -5101,8 +5101,8 @@ sub after_failure ($) {
my
$save_dir
=
"
$opt_vardir
/log/
";
$save_dir
.=
$tinfo
->
{
name
};
# Add combination name if any
$save_dir
.=
"
-
$tinfo
->{combination}
"
if
defined
$tinfo
->
{
combination
};
$save_dir
.=
'
-
'
.
join
('
,
',
sort
@
{
$tinfo
->
{
combinations
}})
if
defined
$tinfo
->
{
combination
s
};
# Save savedir path for server
$tinfo
->
{
savedir
}
=
$save_dir
;
...
...
mysql-test/suite/rpl/t/rpl_create_tmp_table_if_not_exists.test
View file @
b90b2cfe
...
...
@@ -22,10 +22,10 @@
# http://dev.mysql.com/doc/refman/5.1/en/sql-syntax-data-definition.html
#
source
include
/
master
-
slave
.
inc
;
#CREATE TEMPORARY TABLE statements are not binlogged in row mode,
#So it must be test by itself.
source
include
/
have_binlog_format_mixed_or_statement
.
inc
;
source
include
/
master
-
slave
.
inc
;
disable_warnings
;
DROP
DATABASE
IF
EXISTS
mysqltest
;
...
...
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