summaryrefslogtreecommitdiff
path: root/mysql-test/include/truncate_file.inc
diff options
context:
space:
mode:
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;