From 0cc1acd51c35ec44a874ffa53f1df77d01e669b9 Mon Sep 17 00:00:00 2001 From: "pem@mysql.com" <> Date: Wed, 11 Jan 2006 15:11:05 +0100 Subject: Fixing BUG#15658: Server crashes after creating function as empty string Empty strings (and names with trailing spaces) should not be allowed. --- sql/sp_head.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sql/sp_head.h') diff --git a/sql/sp_head.h b/sql/sp_head.h index 2eebd35f6dc..30859ee8f8a 100644 --- a/sql/sp_head.h +++ b/sql/sp_head.h @@ -102,6 +102,8 @@ public: sp_name * sp_name_current_db_new(THD *thd, LEX_STRING name); +bool +sp_name_check(LEX_STRING name); class sp_head :private Query_arena { -- cgit v1.2.1