summaryrefslogtreecommitdiff
path: root/sql/sql_udf.cc
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2005-05-19 09:47:13 +0200
committerunknown <serg@serg.mylan>2005-05-19 09:47:13 +0200
commit275aa247405e3fbd364598132858b27e9e47cc7d (patch)
tree9973bf63fdadac65b367ac222982907ed3e2fc8b /sql/sql_udf.cc
parent7e507270b88ee5407ee0e30e17e06106aa01473e (diff)
downloadmariadb-git-275aa247405e3fbd364598132858b27e9e47cc7d.tar.gz
after merge fix
Diffstat (limited to 'sql/sql_udf.cc')
-rw-r--r--sql/sql_udf.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_udf.cc b/sql/sql_udf.cc
index 7157111b25c..31205c0a614 100644
--- a/sql/sql_udf.cc
+++ b/sql/sql_udf.cc
@@ -195,7 +195,7 @@ void udf_init()
*/
if (strchr(dl_name, '/') ||
IF_WIN(strchr(dl_name, '\\'),0) ||
- strlen(name) > NAME_LEN)
+ strlen(name.str) > NAME_LEN)
{
sql_print_error("Invalid row in mysql.func table for function '%.64s'",
name.str);