diff options
author | monty@donna.mysql.com <> | 2001-01-17 03:15:20 +0200 |
---|---|---|
committer | monty@donna.mysql.com <> | 2001-01-17 03:15:20 +0200 |
commit | 0732f7475eb4775fcfff20257bbe386b38e51a99 (patch) | |
tree | 256b185f833ce2fac42471efe65aa7bde9b9a8da /Docs | |
parent | 5f4a3f51675240ac05daaba50926740e380e5016 (diff) | |
download | mariadb-git-0732f7475eb4775fcfff20257bbe386b38e51a99.tar.gz |
Fixed for bugs that was found when getting full code coverage of BDB
Fixed bug with HEAP tables on windows
Fixed bug with HAVING on empty tables
Diffstat (limited to 'Docs')
-rw-r--r-- | Docs/manual.texi | 28 |
1 files changed, 20 insertions, 8 deletions
diff --git a/Docs/manual.texi b/Docs/manual.texi index c6eb5dac81e..3ea77c1dc26 100644 --- a/Docs/manual.texi +++ b/Docs/manual.texi @@ -31588,17 +31588,22 @@ message to less than 80 characters so that it fits the width of a standard terminal screen. The return value of the main function @code{xxx()} is the function value, for -@code{long long} and @code{double} functions. For string functions, the -string is returned in the @code{result} and @code{length} arguments. -@code{result} is a buffer at least 255 bytes long. Set these to the contents -and length of the return value. For example: +@code{long long} and @code{double} functions. A string functions should +return a pointer to the result and store the length of the string in the +@code{length} arguments. @code{result} is a buffer at least 255 bytes long. +Set these to the contents and length of the return value. For example: @example memcpy(result, "result string", 13); *length = 13; @end example -The string function return value normally also points to the result. +If your string functions that needs to return a string longer than 255 +bytes, you must allocate the space for it with @code{malloc()} in your +@code{xxx_init()} function or your @code{xxx()} function and free it in +your @code{xxx_deinit()} function. You can store the allocated memory +in the @code{ptr} slot in the @code{UDF_INIT} structure for reuse by +future @code{xxx()} calls. @xref{UDF calling sequences}. To indicate a return value of @code{NULL} in the main function, set @code{is_null} to @code{1}: @@ -40403,6 +40408,12 @@ though, so Version 3.23 is not released as a stable version yet. @appendixsubsec Changes in release 3.23.31 @itemize @bullet @item +Using @code{HAVING} on an empty table could produce one result row. +@item +Fixed that the @strong{MySQL} RPM is not depending on perl5 anymore. +@item +Fixed some problems with @code{HEAP} tables on windows. +@item @code{SHOW TABLE STATUS} didn't show correct average row length for tables bigger than 4G. @item @@ -40412,15 +40423,16 @@ Added option @code{MEDIUM} to @code{CHECK TABLE}. @item Fixed problem when using @code{DECIMAL()} keys on negative numbers. @item -@code{HOUR()} on a @code{CHAR} column always returned @code{NULL}. +@code{HOUR()} (and some other @code{TIME} functions) on a @code{CHAR} column +always returned @code{NULL}. @item Fixed security bug in something (please upgrade if you are using a earlier MySQL 3.23 version). @item Fixed buffer overflow bug when writing a certain error message. @item -Added usage of @code{getrlimit()} on Linux to get @code{-O --open-files-limit=#} -to work on Linux. +Added usage of @code{getrlimit()} on Linux to get @code{-O +--open-files-limit=#} to work on Linux. @item Added new mysqld variable: bdb_version. @item |