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
2946f9d8
Commit
2946f9d8
authored
Aug 30, 2011
by
Bjorn Munch
Browse files
Options
Browse Files
Download
Plain Diff
merge from 5.1-mtr
parents
2fdad9aa
699b3b84
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
1 deletion
+32
-1
mysql-test/include/mtr_check.sql
mysql-test/include/mtr_check.sql
+10
-0
mysql-test/lib/mtr_cases.pm
mysql-test/lib/mtr_cases.pm
+21
-1
mysql-test/suite/ndb/t/ndb_partition_error2.test
mysql-test/suite/ndb/t/ndb_partition_error2.test
+1
-0
No files found.
mysql-test/include/mtr_check.sql
View file @
2946f9d8
...
...
@@ -72,3 +72,13 @@ BEGIN
mysql
.
user
;
END
||
--
-- Procedure used by test case used to force all
-- servers to restart after testcase and thus skipping
-- check test case after test
--
CREATE
DEFINER
=
root
@
localhost
PROCEDURE
force_restart
()
BEGIN
SELECT
1
INTO
OUTFILE
'force_restart'
;
END
||
mysql-test/lib/mtr_cases.pm
View file @
2946f9d8
...
...
@@ -317,10 +317,30 @@ sub collect_one_suite($)
my
%
disabled
;
if
(
open
(
DISABLED
,
"
$testdir
/disabled.def
"
)
)
{
# $^O on Windows considered not generic enough
my
$plat
=
(
IS_WINDOWS
)
?
'
windows
'
:
$^O
;
while
(
<
DISABLED
>
)
{
chomp
;
if
(
/^\s*(\S+)\s*:\s*(.*?)\s*$/
)
#diasble the test case if platform matches
if
(
/\@/
)
{
if
(
/\@$plat/
)
{
/^\s*(\S+)\s*\@$plat.*:\s*(.*?)\s*$/
;
$disabled
{
$1
}
=
$2
;
}
elsif
(
/\@!(\S*)/
)
{
if
(
$1
ne
$plat
)
{
/^\s*(\S+)\s*\@!.*:\s*(.*?)\s*$/
;
$disabled
{
$1
}
=
$2
;
}
}
}
elsif
(
/^\s*(\S+)\s*:\s*(.*?)\s*$/
)
{
$disabled
{
$1
}
=
$2
;
}
...
...
mysql-test/suite/ndb/t/ndb_partition_error2.test
View file @
2946f9d8
--
source
include
/
have_ndb
.
inc
disable_query_log
;
--
require
r
/
true
.
require
select
support
=
'Enabled'
as
`TRUE`
from
information_schema
.
engines
where
engine
=
'ndbcluster'
;
...
...
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