summaryrefslogtreecommitdiff
path: root/mysql-test/t/execution_constants.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/t/execution_constants.test')
-rw-r--r--mysql-test/t/execution_constants.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/t/execution_constants.test b/mysql-test/t/execution_constants.test
index e61d79f5249..92b1deb9921 100644
--- a/mysql-test/t/execution_constants.test
+++ b/mysql-test/t/execution_constants.test
@@ -49,7 +49,7 @@ while ($i)
let $i = 1//
# Check that mysql_errno is 1436
- if (`select $mysql_errno != 1436`)
+ if ($mysql_errno != 1436)
{
die Wrong error triggered, expected 1436 but got $mysql_errno//
}