summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorigor@rurik.mysql.com <>2004-01-20 11:27:54 -0800
committerigor@rurik.mysql.com <>2004-01-20 11:27:54 -0800
commit76e94787a2ead0b2ab099262f76d1cfe4505cc82 (patch)
tree4ac7857552eec00194d93c01a64077e13ef8deeb /sql
parent52729c7fd6641485d05ea7e855b24f76b2bbac73 (diff)
parentee41164863deda9e928681bc44b49eae94ae7d71 (diff)
downloadmariadb-git-76e94787a2ead0b2ab099262f76d1cfe4505cc82.tar.gz
Merge rurik.mysql.com:/home/igor/mysql-5.0
into rurik.mysql.com:/home/igor/dev/mysql-5.0-0
Diffstat (limited to 'sql')
-rw-r--r--sql/sql_parse.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc
index 104db400133..5a06e835d88 100644
--- a/sql/sql_parse.cc
+++ b/sql/sql_parse.cc
@@ -3089,7 +3089,7 @@ mysql_execute_command(THD *thd)
if (check_access(thd,INSERT_ACL,"mysql",0,1,0))
break;
#ifdef HAVE_DLOPEN
- if (!(sph= sp_find_function(thd, &lex->udf.name)))
+ if ((sph= sp_find_function(thd, &lex->udf.name)))
{
net_printf(thd, ER_UDF_EXISTS, lex->udf.name.str);
goto error;