summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorholyfoot/hf@mysql.com/hfmain.(none) <>2007-11-26 16:25:18 +0400
committerholyfoot/hf@mysql.com/hfmain.(none) <>2007-11-26 16:25:18 +0400
commit68c60314722439dd543686fa13496d59f42288e7 (patch)
tree4a1120a865721012c86c3ba9d512c9e1a2ee9bd7 /include
parent366a87cdaf45f1f27bfc471e4105b324475b263a (diff)
downloadmariadb-git-68c60314722439dd543686fa13496d59f42288e7.tar.gz
Bug #31900 Wrong confusing comment in mysql_com.h header file.
comment fixed as we truly need const_item to be 1 to mark constant function
Diffstat (limited to 'include')
-rw-r--r--include/mysql_com.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/mysql_com.h b/include/mysql_com.h
index 56c7f7d2ab5..016df41476b 100644
--- a/include/mysql_com.h
+++ b/include/mysql_com.h
@@ -325,11 +325,11 @@ typedef struct st_udf_args
typedef struct st_udf_init
{
- my_bool maybe_null; /* 1 if function can return NULL */
- unsigned int decimals; /* for real functions */
- unsigned long max_length; /* For string functions */
- char *ptr; /* free pointer for function data */
- my_bool const_item; /* 0 if result is independent of arguments */
+ my_bool maybe_null; /* 1 if function can return NULL */
+ unsigned int decimals; /* for real functions */
+ unsigned long max_length; /* For string functions */
+ char *ptr; /* free pointer for function data */
+ my_bool const_item; /* 1 if function always returns the same value */
} UDF_INIT;
/* Constants when using compression */