summaryrefslogtreecommitdiff
path: root/sql/udf_example.c
diff options
context:
space:
mode:
authorunknown <msvensson@shellback.(none)>2007-09-22 09:51:54 +0200
committerunknown <msvensson@shellback.(none)>2007-09-22 09:51:54 +0200
commitb1a33149a7cc44b02ebf4de76a5e85592d41a9ad (patch)
treed076227c02d7d5f8ac170bf37bf191934691d8e6 /sql/udf_example.c
parent959dfa7f83d585e2490051ffbf234e954e727b84 (diff)
parent150953a36a9fd4985225380f9486788a039c5083 (diff)
downloadmariadb-git-b1a33149a7cc44b02ebf4de76a5e85592d41a9ad.tar.gz
Merge shellback.(none):/home/msvensson/mysql/mysql-5.0-maint
into shellback.(none):/home/msvensson/mysql/my51-bug30843 BitKeeper/deleted/.del-configure.js: Auto merged client/mysql.cc: Auto merged client/mysql_upgrade.c: Auto merged client/mysqldump.c: Auto merged client/mysqltest.c: Auto merged configure.in: Auto merged libmysql/libmysql.c: Auto merged mysql-test/Makefile.am: Auto merged mysql-test/mysql-test-run.pl: Auto merged mysql-test/r/udf.result: Auto merged mysql-test/t/udf.test: Auto merged scripts/Makefile.am: Auto merged sql/item_func.cc: Auto merged sql/mysql_priv.h: Auto merged sql/mysqld.cc: Auto merged sql/sql_select.cc: Auto merged sql/udf_example.def: Auto merged tests/mysql_client_test.c: Auto merged sql/udf_example.c: Merge 5.0->5.1
Diffstat (limited to 'sql/udf_example.c')
-rw-r--r--sql/udf_example.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/udf_example.c b/sql/udf_example.c
index 6c07a929b04..6f2093cc92f 100644
--- a/sql/udf_example.c
+++ b/sql/udf_example.c
@@ -1106,11 +1106,12 @@ char * is_const(UDF_INIT *initid, UDF_ARGS *args __attribute__((unused)),
}
+
my_bool check_const_len_init(UDF_INIT *initid, UDF_ARGS *args, char *message)
{
if (args->arg_count != 1)
{
- strmov(message, "IS_CONST accepts only one argument");
+ strmov(message, "CHECK_CONST_LEN accepts only one argument");
return 1;
}
if (args->args[0] == 0)
@@ -1140,5 +1141,4 @@ char * check_const_len(UDF_INIT *initid, UDF_ARGS *args __attribute__((unused)),
}
-
#endif /* HAVE_DLOPEN */