Alterações na distribuição 3.21.12
Fixed ftruncate()
call in MIT-pthreads. This made isamchk
destroy the .ISM
files on (Free)BSD 2.x systems.
- Fixed broken
__P_
patch in MIT-pthreads. - Many memory overrun checks. All string functions now return
NULL
if the returned string should be longer thanmax_allowed_packet
bytes. - Changed the name of the
INTERVAL
type toENUM
, becauseINTERVAL
is used in SQL-99. - In some cases, doing a
JOIN
+GROUP
+INTO OUTFILE
, the result wasn't grouped. LIKE
with'_'
as last character didn't work. Fixed.- Added extended SQL-99
TRIM()
function. - Added
CURTIME()
. - Added
ENCRYPT()
function by Zeev Suraski. - Fixed better
FOREIGN KEY
syntax skipping. New reserved words:MATCH
,FULL
,PARTIAL
. mysqld
now allows IP number and hostname for the--bind-address
option.- Added
SET CHARACTER SET cp1251_koi8
to enable conversions of data to and from thecp1251_koi8
character set. - Lots of changes for Windows 95 port. In theory, this version should now be easily portable to Windows 95.
- Changed the
CREATE COLUMN
syntax ofNOT NULL
columns to be after theDEFAULT
value, as specified in the SQL-99 standard. This will makemysqldump
withNOT NULL
and default values incompatible with MariaDB Version 3.20. - Added many function name aliases so the functions can be used with ODBC or SQL-92 syntax.
- Fixed syntax of
ALTER TABLE tbl_name ALTER COLUMN col_name SET DEFAULT NULL
. - Added
CHAR
andBIT
as synonyms forCHAR(1)
. - Fixed core dump when updating as a user who has only
SELECT
privilege. INSERT ... SELECT ... GROUP BY
didn't work in some cases. AnInvalid use of group function
error occurred.- When using
LIMIT
,SELECT
now always uses keys instead of record scan. This will give better performance onSELECT
and aWHERE
that matches many rows. - Added Russian error messages.