diff options
author | holyfoot/hf@mysql.com/hfmain.(none) <> | 2007-11-26 16:25:18 +0400 |
---|---|---|
committer | holyfoot/hf@mysql.com/hfmain.(none) <> | 2007-11-26 16:25:18 +0400 |
commit | 68c60314722439dd543686fa13496d59f42288e7 (patch) | |
tree | 4a1120a865721012c86c3ba9d512c9e1a2ee9bd7 /include/mysql_com.h | |
parent | 366a87cdaf45f1f27bfc471e4105b324475b263a (diff) | |
download | mariadb-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/mysql_com.h')
-rw-r--r-- | include/mysql_com.h | 10 |
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 */ |