diff options
author | Georgi Kodinov <joro@sun.com> | 2009-05-27 16:05:29 +0300 |
---|---|---|
committer | Georgi Kodinov <joro@sun.com> | 2009-05-27 16:05:29 +0300 |
commit | bbe29a00d3ca24d4aa9c8c3b7c3f7bd8bcbd3389 (patch) | |
tree | 84a2cbd1035921bbaa22dbb65522b2d16b307602 /sql/sql_lex.h | |
parent | cb07978da9a24244cf71d9be86eeb794088f67c7 (diff) | |
download | mariadb-git-bbe29a00d3ca24d4aa9c8c3b7c3f7bd8bcbd3389.tar.gz |
Bug #38159: Function parsing problem generates misleading error message
Added a more detailed error message on calling an ambiguous missing function.
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r-- | sql/sql_lex.h | 2 |
1 files changed, 2 insertions, 0 deletions
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); |