From bbe29a00d3ca24d4aa9c8c3b7c3f7bd8bcbd3389 Mon Sep 17 00:00:00 2001 From: Georgi Kodinov Date: Wed, 27 May 2009 16:05:29 +0300 Subject: Bug #38159: Function parsing problem generates misleading error message Added a more detailed error message on calling an ambiguous missing function. --- sql/sql_lex.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sql/sql_lex.h') diff --git a/sql/sql_lex.h b/sql/sql_lex.h index 5c0367632e1..627003880d9 100644 --- a/sql/sql_lex.h +++ b/sql/sql_lex.h @@ -1390,3 +1390,5 @@ extern void lex_end(LEX *lex); extern int MYSQLlex(void *arg, void *yythd); extern char *skip_rear_comments(CHARSET_INFO *cs, char *begin, char *end); +extern bool is_lex_native_function(const LEX_STRING *name); +int my_missing_function_error(const LEX_STRING &token, const char *name); -- cgit v1.2.1