Alterações na distribuição 3.23.28 (22 Nov 2000: Gamma)
Added new options --pager[=...], --no-pager, --tee=... and --no-tee to the MariaDB client. The new corresponding interactive commands are pager, nopager, tee and notee. Leia "MariaDB, A Ferramenta de Linha de Comando", mysql --help and the interactive help for more information.
- Fixed crash when automatic repair of
MyISAMtable failed. - Fixed a major performance bug in the table locking code when one constantly had a lot of
SELECT,UPDATEandINSERTstatements running. The symptom was that theUPDATEandINSERTqueries were locked for a long time while newSELECTstatements were executed before the updates. - When reading
options_fileswithmysql_options()thereturn-found-rowsoption was ignored. - One can now specify
interactive-timeoutin the option file that is read bymysql_options(). This makes it possible to force programs that run for a long time (likemysqlhotcopy) to use theinteractive_timeouttime instead of thewait_timeouttime. - Added to the slow query log the time and the user name for each logged query. If you are using
--log-long-formatthen also queries that do not use an index are logged, even if the query takes less thanlong_query_timeseconds. - Fixed a problem in
LEFT JOINwhich caused all columns in a reference table to beNULL. - Fixed a problem when using
NATURAL JOINwithout keys. - Fixed a bug when using a multi-part keys where the first part was of type
TEXTorBLOB. DROPof temporary tables wasn't stored in the update/binary log.- Fixed a bug where
SELECT DISTINCT * ... LIMIT row_countonly returned one row. - Fixed a bug in the assembler code in
strstr()for SPARC and cleaned up theglobal.hheader file to avoid a problem with bad aliasing with the compiler submitted with Red Hat 7.0. (Reported by Trond Eivind Glomsrød) - The
--skip-networkingoption now works properly on NT. - Fixed a long outstanding bug in the
ISAMtables when a row with a length of more than 65K was shortened by a single byte. - Fixed a bug in
MyISAMwhen running multiple updating processes on the same table. - Allow one to use
FLUSH TABLE tbl_name. - Added
--replicate-ignore-table,--replicate-do-table,--replicate-wild-ignore-table, and--replicate-wild-do-tableoptions tomysqld. - Changed all log files to use our own
IO_CACHEmechanism instead ofFILEto avoid OS problems when there are many files open. - Added
--open-filesand--timezoneoptions tosafe_mysqld. - Fixed a fatal bug in
CREATE TEMPORARY TABLE ... SELECT .... - Fixed a problem with
CREATE TABLE ... SELECT NULL. - Added variables
large_file_support,net_read_timeout,net_write_timeoutandquery_buffer_sizetoSHOW VARIABLES. - Added status variables
created_tmp_filesandsort_merge_passestoSHOW STATUS. - Fixed a bug where we didn't allow an index name after the
FOREIGN KEYdefinition. - Added
TRUNCATE table_nameas a synonym forDELETE FROM table_name. - Fixed a bug in a
BDBkey compare function when comparing part keys. - Added
bdb_lock_maxvariable tomysqld. - Added more tests to the benchmark suite.
- Fixed an overflow bug in the client code when using overly long database names.
mysql_connect()now aborts on Linux if the server doesn't answer intimeoutseconds.SLAVE STARTdid not work if you started with--skip-slave-startand had not explicitly runCHANGE MASTER TO.- Fixed the output of
SHOW MASTER STATUSto be consistent withSHOW SLAVE STATUS. (It now has no directory in the log name.) - Added
PURGE MASTER LOGS TO. - Added
SHOW MASTER LOGS. - Added
--safemalloc-mem-limitoption tomysqldto simulate memory shortage when compiled with the--with-debug=fulloption. - Fixed several core dumps in out-of-memory conditions.
SHOW SLAVE STATUSwas using an uninitialised mutex if the slave had not been started yet.- Fixed bug in
ELT()andMAKE_SET()when the query used a temporary table. CHANGE MASTER TOwithout specifyingMASTER_LOG_POSwould set it to 0 instead of 4 and hit the magic number in the master binlog.ALTER TABLE ... ORDER BY ...syntax added. This will create the new table with the rows in a specific order.