summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <holyfoot/hf@mysql.com/hfmain.(none)>2007-11-26 16:25:18 +0400
committerunknown <holyfoot/hf@mysql.com/hfmain.(none)>2007-11-26 16:25:18 +0400
commit7257ed0e103abe0550c256b1b2cc46c4c918755f (patch)
tree4a1120a865721012c86c3ba9d512c9e1a2ee9bd7
parent5d385571d1eff40df8417186bd71a270c58e8584 (diff)
downloadmariadb-git-7257ed0e103abe0550c256b1b2cc46c4c918755f.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 include/mysql_com.h: Bug #31900 Wrong confusing comment in mysql_com.h header file. comment fixed
-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 */