summaryrefslogtreecommitdiff
path: root/sql/sp_head.h
diff options
context:
space:
mode:
authorpem@mysql.com <>2006-01-11 15:11:05 +0100
committerpem@mysql.com <>2006-01-11 15:11:05 +0100
commit0cc1acd51c35ec44a874ffa53f1df77d01e669b9 (patch)
tree702391a280a23dfee13efd2028892e83aef26525 /sql/sp_head.h
parenta09473e6525f5443a7dd8fa0458c344e832d430b (diff)
downloadmariadb-git-0cc1acd51c35ec44a874ffa53f1df77d01e669b9.tar.gz
Fixing BUG#15658: Server crashes after creating function as empty string
Empty strings (and names with trailing spaces) should not be allowed.
Diffstat (limited to 'sql/sp_head.h')
-rw-r--r--sql/sp_head.h2
1 files changed, 2 insertions, 0 deletions
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
{