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 | 4f0bd0462c959bc31b5327464c3a627186cd7d1b (patch) | |
tree | ad04f8d12a4298688bd483489962e02e164e8f92 /mysql-test/include/check_concurrent_insert.inc | |
parent | 3398089ed2a0965a5656a38e42d2fe4ed596c192 (diff) | |
download | mariadb-git-4f0bd0462c959bc31b5327464c3a627186cd7d1b.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/check_concurrent_insert.inc')
-rw-r--r-- | mysql-test/include/check_concurrent_insert.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/include/check_concurrent_insert.inc b/mysql-test/include/check_concurrent_insert.inc index f4bec3c9cdb..62de485d8f1 100644 --- a/mysql-test/include/check_concurrent_insert.inc +++ b/mysql-test/include/check_concurrent_insert.inc @@ -23,7 +23,7 @@ # Reset DEBUG_SYNC facility for safety. set debug_sync= "RESET"; -if (`SELECT '$restore_table' <> ''`) +if ($restore_table) { --eval create temporary table t_backup select * from $restore_table; } @@ -82,7 +82,7 @@ connection default; --eval delete from $table where i = 0; -if (`SELECT '$restore_table' <> ''`) +if ($restore_table) { --eval truncate table $restore_table; --eval insert into $restore_table select * from t_backup; |