1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

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
This commit is contained in:
holyfoot/hf@mysql.com/hfmain.(none)
2007-11-26 16:25:18 +04:00
parent 366a87cdaf
commit 68c6031472

View File

@@ -325,11 +325,11 @@ typedef struct st_udf_args
typedef struct st_udf_init typedef struct st_udf_init
{ {
my_bool maybe_null; /* 1 if function can return NULL */ my_bool maybe_null; /* 1 if function can return NULL */
unsigned int decimals; /* for real functions */ unsigned int decimals; /* for real functions */
unsigned long max_length; /* For string functions */ unsigned long max_length; /* For string functions */
char *ptr; /* free pointer for function data */ char *ptr; /* free pointer for function data */
my_bool const_item; /* 0 if result is independent of arguments */ my_bool const_item; /* 1 if function always returns the same value */
} UDF_INIT; } UDF_INIT;
/* Constants when using compression */ /* Constants when using compression */