diff options
author | Bjorn Munch <bjorn.munch@oracle.com> | 2010-10-20 16:15:32 +0200 |
---|---|---|
committer | Bjorn Munch <bjorn.munch@oracle.com> | 2010-10-20 16:15:32 +0200 |
commit | 0455ff8faf97da88c0a1cb42a615e75f43e40012 (patch) | |
tree | ad04f8d12a4298688bd483489962e02e164e8f92 /mysql-test/include/kill_query.inc | |
parent | 05062d579a81ce9378560bee573f5769a94c579a (diff) | |
download | mariadb-git-0455ff8faf97da88c0a1cb42a615e75f43e40012.tar.gz |
Follow-up to Bug #55582 which allows chaecking strings in if
Simplified cases where a select was used to compare variable against ''
Diffstat (limited to 'mysql-test/include/kill_query.inc')
-rw-r--r-- | mysql-test/include/kill_query.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/include/kill_query.inc b/mysql-test/include/kill_query.inc index b303ed0ec39..1c949d3cbad 100644 --- a/mysql-test/include/kill_query.inc +++ b/mysql-test/include/kill_query.inc @@ -44,7 +44,7 @@ connection master; # kill the query that is waiting eval kill query $connection_id; -if (`SELECT '$debug_lock' != ''`) +if ($debug_lock) { # release the lock to allow binlog continue eval SELECT RELEASE_LOCK($debug_lock); @@ -57,7 +57,7 @@ reap; connection master; -if (`SELECT '$debug_lock' != ''`) +if ($debug_lock) { # get lock again to make the next query wait eval SELECT GET_LOCK($debug_lock, 10); |