summaryrefslogtreecommitdiff
path: root/mysql-test/include/truncate_file.inc
diff options
context:
space:
mode:
authorRamil Kalimullin <ramil@mysql.com>2010-11-22 14:47:28 +0300
committerRamil Kalimullin <ramil@mysql.com>2010-11-22 14:47:28 +0300
commitbd557f04f644bda3b493c37225b169167eb6e11e (patch)
tree318334755d94aef3ee64545c0a4a566380f9162f /mysql-test/include/truncate_file.inc
parent3bae49d64ce0df04a85583b5dc680cda54760dbc (diff)
parent9d9699209d9ca66648db8aff46f6b66a4c1c18de (diff)
downloadmariadb-git-bd557f04f644bda3b493c37225b169167eb6e11e.tar.gz
Manual merge from mysql-5.5-bugteam.
Diffstat (limited to 'mysql-test/include/truncate_file.inc')
-rw-r--r--mysql-test/include/truncate_file.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/include/truncate_file.inc b/mysql-test/include/truncate_file.inc
index c82108681bd..2326d6c0b94 100644
--- a/mysql-test/include/truncate_file.inc
+++ b/mysql-test/include/truncate_file.inc
@@ -1,6 +1,6 @@
# truncate a giving file, all contents of the file are be cleared
-if (`SELECT 'x$file' = 'x'`)
+if (!$file)
{
--echo Please assign a file name to $file!!
exit;