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
f683540c
Commit
f683540c
authored
Aug 30, 2011
by
Bjorn Munch
Browse files
Options
Browse Files
Download
Plain Diff
merge from 5.1-mtr
parents
a921013a
85035bd2
Changes
3
Show 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 @
f683540c
...
@@ -72,3 +72,13 @@ BEGIN
...
@@ -72,3 +72,13 @@ BEGIN
mysql
.
user
;
mysql
.
user
;
END
||
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 @
f683540c
...
@@ -317,10 +317,30 @@ sub collect_one_suite($)
...
@@ -317,10 +317,30 @@ sub collect_one_suite($)
my
%
disabled
;
my
%
disabled
;
if
(
open
(
DISABLED
,
"
$testdir
/disabled.def
"
)
)
if
(
open
(
DISABLED
,
"
$testdir
/disabled.def
"
)
)
{
{
# $^O on Windows considered not generic enough
my
$plat
=
(
IS_WINDOWS
)
?
'
windows
'
:
$^O
;
while
(
<
DISABLED
>
)
while
(
<
DISABLED
>
)
{
{
chomp
;
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
;
$disabled
{
$1
}
=
$2
;
}
}
...
...
mysql-test/suite/ndb/t/ndb_partition_error2.test
View file @
f683540c
--
source
include
/
have_ndb
.
inc
disable_query_log
;
disable_query_log
;
--
require
r
/
true
.
require
--
require
r
/
true
.
require
select
support
=
'Enabled'
as
`TRUE`
from
information_schema
.
engines
where
engine
=
'ndbcluster'
;
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