@@ -4532,7 +4532,7 @@ MySQL Server also supports
45324532the following additional type attributes:
45334533@itemize @bullet
45344534@item
4535- @code{UNSIGNED} option for integer columns.
4535+ @code{UNSIGNED} option for integer and floating point columns.
45364536@item
45374537@code{ZEROFILL} option for integer columns.
45384538@item
@@ -8148,6 +8148,10 @@ version 4.0;
81488148
81498149@itemize @bullet
81508150@item
8151+ @code{DOUBLE} and @code{FLOAT} columns are now honoring the
8152+ @code{UNSIGNED} flag on storage (before @code{UNSIGNED} was ignored for
8153+ these columns).
8154+ @item
81518155Use @code{ORDER BY column DESC} now always sorts @code{NULL} values
81528156first; In 3.23 this was not always consistent.
81538157@item
@@ -8177,6 +8181,9 @@ you need to rebuild them with @code{ALTER TABLE table_name TYPE=MyISAM},
81778181@code{LOCATE()} and @code{INSTR()} are case sensitive if one of the
81788182arguments is a binary string.
81798183@item
8184+ @code{STRCMP()} now uses the current character set when doing comparison,
8185+ which means that the default comparison is case insensitive.
8186+ @item
81808187@code{HEX(string)} now returns the characters in string converted to
81818188hexadecimal. If you want to convert a number to hexadecimal, you should
81828189ensure that you call @code{HEX()} with a numeric argument.
@@ -33467,15 +33474,20 @@ restrictions:
3346733474@itemize @bullet
3346833475@item
3346933476Only the last @code{SELECT} command can have @code{INTO OUTFILE}.
33470- @item
33471- Only the last @code{SELECT} command can have @code{ORDER BY}.
3347233477@end itemize
3347333478
3347433479If you don't use the keyword @code{ALL} for the @code{UNION}, all
3347533480returned rows will be unique, like if you had done a @code{DISTINCT} for
3347633481the total result set. If you specify @code{ALL}, then you will get all
3347733482matching rows from all the used @code{SELECT} statements.
3347833483
33484+ If you want to use an @code{ORDER BY} for the total @code{UNION} result,
33485+ you should use parentheses:
33486+
33487+ @example
33488+ (SELECT a FROM table_name WHERE a=10 AND B=1 ORDER BY a LIMIT 10) UNION
33489+ (SELECT a FROM table_name WHERE a=11 AND B=2 ORDER BY a LIMIT 10) ORDER BY a;
33490+ @end example
3347933491
3348033492@findex HANDLER
3348133493@node HANDLER, INSERT, SELECT, Data Manipulation
@@ -41741,9 +41753,11 @@ set has been read.
4174141753
4174241754If you acquire a result set from a successful call to
4174341755@code{mysql_store_result()}, the client receives the entire set in one
41744- operation. In this case, a @code{NULL} return from @code{mysql_fetch_row()}
41745- always means the end of the result set has been reached and it is
41746- unnecessary to call @code{mysql_eof()}.
41756+ operation. In this case, a @code{NULL} return from
41757+ @code{mysql_fetch_row()} always means the end of the result set has been
41758+ reached and it is unnecessary to call @code{mysql_eof()}. When used
41759+ with @code{mysql_store_result()}, @code{mysql_eof()} will always return
41760+ true.
4174741761
4174841762On the other hand, if you use @code{mysql_use_result()} to initiate a result
4174941763set retrieval, the rows of the set are obtained from the server one by one as
@@ -48730,6 +48744,11 @@ Our TODO section contains what we plan to have in 4.0. @xref{TODO MySQL 4.0}.
4873048744
4873148745@itemize @bullet
4873248746@item
48747+ A lot of fixes to @code{UNION}.
48748+ @item
48749+ @code{DOUBLE} and @code{FLOAT} columns are now honoring the
48750+ @code{UNSIGNED} flag on storage.
48751+ @item
4873348752Fixed bug with indexless boolean fulltext search.
4873448753@item
4873548754Fixed bug that sometimes appeared when fulltext search was used
@@ -48934,6 +48953,9 @@ now handle signed and unsigned @code{BIGINT} numbers correctly.
4893448953@item
4893548954New character set @code{latin_de} which provides correct German sorting.
4893648955@item
48956+ @code{STRCMP()} now uses the current character set when doing comparison,
48957+ which means that the default comparison is case insensitive.
48958+ @item
4893748959@code{TRUNCATE TABLE} and @code{DELETE FROM table_name} are now separate
4893848960functions. One bonus is that @code{DELETE FROM table_name} now returns
4893948961the number of deleted rows.
@@ -49118,6 +49140,9 @@ not yet 100% confident in this code.
4911849140@appendixsubsec Changes in release 3.23.50
4911949141@itemize @bullet
4912049142@item
49143+ Our Linux RPMS and binaries are now compiled with gcc 3.0.4, which should
49144+ make them a bit faster.
49145+ @item
4912149146Fixed problem with @code{SHOW CREATE TABLE} and @code{PRIMARY KEY} when using
491224914732 indexes.
4912349148@item
0 commit comments