diff options
author | Alexander Nozdrin <alik@sun.com> | 2010-07-29 16:32:11 +0400 |
---|---|---|
committer | Alexander Nozdrin <alik@sun.com> | 2010-07-29 16:32:11 +0400 |
commit | dfc63866eb91ce5274647dc1176e2f98b5954a50 (patch) | |
tree | 16a66be92ba2603896b1b010600df021911be256 /sql/udf_example.c | |
parent | 14b769cfc6bcf5e6b3142d12e26667bcec90b2cd (diff) | |
parent | c33caca3a45cb72ed3354561d4ff9f06dc12466c (diff) | |
download | mariadb-git-dfc63866eb91ce5274647dc1176e2f98b5954a50.tar.gz |
Auto-merge from mysql-trunk-merge.
Diffstat (limited to 'sql/udf_example.c')
-rw-r--r-- | sql/udf_example.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/udf_example.c b/sql/udf_example.c index 5f8e71d25fa..36828bdf94d 100644 --- a/sql/udf_example.c +++ b/sql/udf_example.c @@ -1071,7 +1071,7 @@ char *myfunc_argument_name(UDF_INIT *initid __attribute__((unused)), { if (!args->attributes[0]) { - null_value= 0; + *null_value= 1; return 0; } (*length)--; /* space for ending \0 (for debugging purposes) */ |