summaryrefslogtreecommitdiff
path: root/sql/sql_analyse.cc
diff options
context:
space:
mode:
authorDavi Arnaut <davi.arnaut@oracle.com>2011-03-14 15:03:22 -0300
committerDavi Arnaut <davi.arnaut@oracle.com>2011-03-14 15:03:22 -0300
commit07106d4ad95175b50db878c16b12215b2221db87 (patch)
tree716557fcbdbdfc59de90c8b8981fc17aabc3ac19 /sql/sql_analyse.cc
parent52cb0b1e3932b54c1fff4c863d80574244cf0fb5 (diff)
downloadmariadb-git-07106d4ad95175b50db878c16b12215b2221db87.tar.gz
Bug#11765202: Dbug_violation_helper::~Dbug_violation_helper(): Assertion `!_entered' failed.
Add a missing DBUG_RETURN function test_if_number().
Diffstat (limited to 'sql/sql_analyse.cc')
-rw-r--r--sql/sql_analyse.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_analyse.cc b/sql/sql_analyse.cc
index 29ba956bf6c..2b894282a9c 100644
--- a/sql/sql_analyse.cc
+++ b/sql/sql_analyse.cc
@@ -242,7 +242,7 @@ bool test_if_number(NUM_INFO *info, const char *str, uint str_len)
if (str == end)
{
info->is_float = 1; // we can't use variable decimals here
- return 1;
+ DBUG_RETURN(1);
}
DBUG_RETURN(0);
}