From: holyfoot Date: November 26 2007 12:25pm Subject: bk commit into 4.1 tree (holyfoot:1.2698) BUG#31900 List-Archive: http://lists.mysql.com/commits/38503 X-Bug: 31900 Message-Id: <20071126122521.170E72C380A5@hfmain.localdomain> Below is the list of changes that have just been committed into a local 4.1 repository of hf. When hf does a push these changes will be propagated to the main repository and, within 24 hours after the push, to the public repository. For information on how to access the public repository see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html ChangeSet@stripped, 2007-11-26 16:25:18+04:00, holyfoot@stripped +1 -0 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@stripped, 2007-11-26 16:25:18+04:00, holyfoot@stripped +5 -5 Bug #31900 Wrong confusing comment in mysql_com.h header file. comment fixed diff -Nrup a/include/mysql_com.h b/include/mysql_com.h --- a/include/mysql_com.h 2006-09-27 17:49:12 +05:00 +++ b/include/mysql_com.h 2007-11-26 16:25:18 +04:00 @@ -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 */