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
11746c80
Commit
11746c80
authored
Dec 17, 2010
by
Bjorn Munch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some more if stmt simplifications
parent
57092985
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
14 deletions
+14
-14
mysql-test/extra/rpl_tests/rpl_stop_slave.test
mysql-test/extra/rpl_tests/rpl_stop_slave.test
+1
-1
mysql-test/include/check_ftwrl_compatible.inc
mysql-test/include/check_ftwrl_compatible.inc
+4
-4
mysql-test/include/check_ftwrl_incompatible.inc
mysql-test/include/check_ftwrl_incompatible.inc
+7
-7
mysql-test/include/show_slave_status.inc
mysql-test/include/show_slave_status.inc
+1
-1
mysql-test/suite/innodb/t/innodb_bug42419.test
mysql-test/suite/innodb/t/innodb_bug42419.test
+1
-1
No files found.
mysql-test/extra/rpl_tests/rpl_stop_slave.test
View file @
11746c80
...
...
@@ -9,7 +9,7 @@
# --source extra/rpl_tests/rpl_stop_slave.test
#
if
(
`SELECT "$tmp_table_stm" = ''`
)
if
(
!
$tmp_table_stm
)
{
--
echo
\
$tmp_table_stm
is
NULL
--
die
$tmp_table_stm
is
NULL
...
...
mysql-test/include/check_ftwrl_compatible.inc
View file @
11746c80
...
...
@@ -34,7 +34,7 @@ if (!$err)
{
--
echo
Success
:
Was
able
to
run
'$statement'
under
FTWRL
.
unlock
tables
;
if
(
`SELECT "$cleanup_stmt" <> ""`
)
if
(
$cleanup_stmt
)
{
--
eval
$cleanup_stmt
;
}
...
...
@@ -91,12 +91,12 @@ connection default;
--reap
}
if (
`SELECT "$cleanup_stmt" <> ""`
)
if (
$cleanup_stmt
)
{
--eval $cleanup_stmt;
}
if (
`SELECT "$skip_3rd_check" = ""`
)
if (
!$skip_3rd_check
)
{
#
# Finally, let us check that FTWRL will succeed if this statement
...
...
@@ -147,7 +147,7 @@ connection default;
}
set
debug_sync
=
"RESET"
;
if
(
`SELECT "$cleanup_stmt" <> ""`
)
if
(
$cleanup_stmt
)
{
--
eval
$cleanup_stmt
;
}
...
...
mysql-test/include/check_ftwrl_incompatible.inc
View file @
11746c80
...
...
@@ -41,11 +41,11 @@ if (!$err)
{
--
echo
Error
:
Was
able
to
run
'$statement'
under
FTWRL
!
unlock
tables
;
if
(
`SELECT "$cleanup_stmt1" <> ""`
)
if
(
$cleanup_stmt1
)
{
--
eval
$cleanup_stmt1
;
}
if
(
`SELECT "$cleanup_stmt2" <> ""`
)
if
(
$cleanup_stmt2
)
{
--
eval
$cleanup_stmt2
;
}
...
...
@@ -88,16 +88,16 @@ unlock tables;
connection default;
--reap
if (
`SELECT "$cleanup_stmt1" <> ""`
)
if (
$cleanup_stmt1
)
{
--eval $cleanup_stmt1;
}
if (
`SELECT "$cleanup_stmt2" <> ""`
)
if (
$cleanup_stmt2
)
{
--eval $cleanup_stmt2;
}
if (
`SELECT "$skip_3rd_check" = ""`
)
if (
!$skip_3rd_check
)
{
#
# Finally, let us check that FTWRL will not succeed if this
...
...
@@ -141,11 +141,11 @@ connection default;
set
debug_sync
=
"RESET"
;
if
(
`SELECT "$cleanup_stmt1" <> ""`
)
if
(
$cleanup_stmt1
)
{
--
eval
$cleanup_stmt1
;
}
if
(
`SELECT "$cleanup_stmt2" <> ""`
)
if
(
$cleanup_stmt2
)
{
--
eval
$cleanup_stmt2
;
}
...
...
mysql-test/include/show_slave_status.inc
View file @
11746c80
...
...
@@ -10,7 +10,7 @@ if (`SELECT "XX$status_items" = "XX"`)
--
disable_query_log
--
vertical_results
while
(
`SELECT "XX$_items" <> "XX"`
)
while
(
$_items
)
{
--
let
$_name
=
`SELECT SUBSTRING_INDEX('$_items', ',', 1)`
--
let
$_items
=
`SELECT LTRIM(SUBSTRING('$_items', LENGTH('$_name') + 2))`
...
...
mysql-test/suite/innodb/t/innodb_bug42419.test
View file @
11746c80
...
...
@@ -7,7 +7,7 @@
--
source
include
/
have_innodb
.
inc
let
$innodb_lock_wait_timeout
=
query_get_value
(
SHOW
VARIABLES
LIKE
'innodb_lock_wait_timeout%'
,
Value
,
1
);
if
(
`SELECT $innodb_lock_wait_timeout < 10`
)
if
(
$innodb_lock_wait_timeout
<
10
)
{
--
echo
# innodb_lock_wait_timeout must be >= 10 seconds
--
echo
# so that this test can work all time fine on an overloaded testing box
...
...
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