1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

some more if stmt simplifications

This commit is contained in:
Bjorn Munch
2010-12-17 11:30:59 +01:00
parent bdedbcd87e
commit c406c79797
5 changed files with 14 additions and 14 deletions

View File

@ -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;
}