Alterações na distribuição 3.23.9
Fixed problem that affected queries that did arithmetic on group functions.
- Fixed problem with timestamps and
INSERT DELAYED. - Fixed that
date_col BETWEEN const_date AND const_dateworks. - Fixed problem when only changing a 0 to
NULLin a table withBLOB/TEXTcolumns. - Fixed bug in range optimiser when using many key parts and or on the middle key parts:
WHERE K1=1 and K3=2 and (K2=2 and K4=4 or K2=3 and K4=5) - Added
sourcecommand toMariaDBto allow reading of batch files inside theMariaDBclient. Original patch by Matthew Vanecek. - Fixed critical problem with the
WITH GRANT OPTIONoption. - Don't give an unnecessary
GRANTerror when using tables from many databases in the same query. - Added VIO wrapper (needed for SSL support; by Andrei Errapart and Tõnu Samuel).
- Fixed optimiser problem on
SELECTwhen using many overlapping indexes. MariaDB should now be able to choose keys even better when there are many keys to choose from. - Changed optimiser to prefer a range key instead of a ref key when the range key can uses more columns than the ref key (which only can use columns with
=). For example, the following type of queries should now be faster:SELECT * from key_part_1=const and key_part_2 > const2 - Fixed bug that a change of all
VARCHARcolumns toCHARcolumns didn't change row type from dynamic to fixed. - Disabled floating-point exceptions for FreeBSD to fix core dump when doing
SELECT FLOOR(POW(2,63)). - Renamed
mysqldstartup option from--delay-key-writeto--delay-key-write-for-all-tables. - Added
read-next-on-keytoHEAPtables. This should fix all problems withHEAPtables when using non-UNIQUEkeys. - Added option to print default arguments to all clients.
- Added
--log-slow-queriesoption tomysqldto log all queries that take a long time to a separate log file with a time indicating how long the query took. - Fixed core dump when doing
WHERE key_col=RAND(...). - Fixed optimization bug in
SELECT ... LEFT JOIN ... key_col IS NULL, whenkey_colcould containNULLvalues. - Fixed problem with 8-bit characters as separators in
LOAD DATA INFILE.