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
38026785
Commit
38026785
authored
May 03, 2004
by
serg@serg.mylan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mysql-test-run: -start-from added, cleanup
parent
809f0406
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
19 deletions
+19
-19
mysql-test/mysql-test-run.sh
mysql-test/mysql-test-run.sh
+19
-19
No files found.
mysql-test/mysql-test-run.sh
View file @
38026785
...
...
@@ -281,6 +281,7 @@ while test $# -gt 0; do
--skip-rpl
)
NO_SLAVE
=
1
;;
--skip-test
=
*
)
SKIP_TEST
=
`
$ECHO
"
$1
"
|
$SED
-e
"s;--skip-test=;;"
`
;;
--do-test
=
*
)
DO_TEST
=
`
$ECHO
"
$1
"
|
$SED
-e
"s;--do-test=;;"
`
;;
--start-from
=
*
)
START_FROM
=
`
$ECHO
"
$1
"
|
$SED
-e
"s;--start-from=;;"
`
;;
--warnings
|
--log-warnings
)
EXTRA_MASTER_MYSQLD_OPT
=
"
$EXTRA_MASTER_MYSQLD_OPT
--log-warnings"
EXTRA_SLAVE_MYSQLD_OPT
=
"
$EXTRA_SLAVE_MYSQLD_OPT
--log-warnings"
...
...
@@ -1207,31 +1208,30 @@ run_testcase ()
echo
$tname
>
$CURRENT_TEST
SKIP_SLAVE
=
`
$EXPR
\(
$tname
: rpl
\)
=
0
`
if
[
"
$USE_MANAGER
"
=
1
]
;
then
many_slaves
=
`
$EXPR
\(
\(
$tname
: rpl_failsafe
\)
!=
0
\)
\|
\(
\(
$tname
: rpl_chain_temp_table
\)
!=
0
\)
`
many_slaves
=
`
$EXPR
\(
\(
$tname
: rpl_failsafe
\)
!=
0
\)
\|
\(
\(
$tname
: rpl_chain_temp_table
\)
!=
0
\)
`
fi
if
$EXPR
"
$tname
"
'<'
"
$START_FROM
"
>
/dev/null
;
then
#skip_test $tname
return
fi
if
[
-n
"
$SKIP_TEST
"
]
;
then
SKIP_THIS_TEST
=
`
$EXPR
\(
$tname
:
"
$SKIP_TEST
"
\)
!=
0
`
if
[
x
$SKIP_THIS_TEST
=
x1
]
;
then
skip_test
$tname
;
return
;
if
[
"
$SKIP_TEST
"
]
;
then
if
$EXPR
\(
"
$tname
"
:
"
$SKIP_TEST
"
\)
>
/dev/null
;
then
skip_test
$tname
return
fi
fi
fi
if
[
-n
"
$DO_TEST
"
]
;
then
DO_THIS_TEST
=
`
$EXPR
\(
$tname
:
"
$DO_TEST
"
\)
!=
0
`
if
[
x
$DO_THIS_TEST
=
x0
]
;
then
skip_test
$tname
;
return
;
if
[
"
$DO_TEST
"
]
;
then
if
$EXPR
\(
"
$tname
"
:
"
$DO_TEST
"
\)
>
/dev/null
;
then
else
#skip_test $tname
return
fi
fi
fi
if
[
x
${
NO_SLAVE
}
x
$SKIP_SLAVE
=
x1x0
]
;
then
skip_test
$tname
;
if
[
x
${
NO_SLAVE
}
x
$SKIP_SLAVE
=
x1x0
]
;
then
skip_test
$tname
return
fi
...
...
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