Alterações na distribuição 3.22.4
Added --tmpdir option to mysqld, for specifying the location of the temporary file directory.
- MySQL now automatically changes a query from an ODBC client:
SELECT ... FROM table WHERE auto_increment_column IS NULL
to:
SELECT ... FROM table WHERE auto_increment_column == LAST_INSERT_ID()
This allows some ODBC programs (Delphi, Access) to retrieve the newly inserted row to fetch the
AUTO_INCREMENTid. DROP TABLEnow waits for all users to free a table before deleting it.- Fixed small memory leak in the new connect protocol.
- New functions
BIN(),OCT(),HEX()andCONV()for converting between different number bases. - Added function
SUBSTRING()with 2 arguments. - If you created a table with a record length smaller than 5, you couldn't delete rows from the table.
- Added optimization to remove
constreference tables fromORDER BYandGROUP BY. mysqldnow automatically disables system locking on Linux and Windows, and for systems that use MIT-pthreads. You can force the use of locking with the--enable-external-lockingoption.- Added
--consoleoption tomysqld, to force a console window (for error messages) when using Windows. - Fixed table locks for Windows.
- Allow '
$' in identifiers. - Changed name of user-specific configuration file from
my.cnfto.my.cnf(Unix only). - Added
DATE_ADD()andDATE_SUB()functions.