Alterações na distribuição 4.0.3 (26 Aug 2002: Beta)
Fixed problem with types of user variables. (Bug#551)
- Fixed problem with
configure ... --localstatedir=.... - Cleaned up
mysql.serverscript. - Fixed a bug in
mysqladmin shutdownwhen pid file was modified whilemysqladminwas still waiting for the previous one to disappear. This could happen during a very quick restart and causedmysqladminto hang untilshutdown_timeoutseconds had passed. - Don't increment warnings when setting
AUTO_INCREMENTcolumns toNULLinLOAD DATA INFILE. - Fixed all boolean type variables/options to work with the old syntax, for example, all of these work:
--lower-case-table-names,--lower-case-table-names=1,-O lower-case-table-names=1,--set-variable=lower-case-table-names=1 - Fixed shutdown problem (SIGTERM signal handling) on Solaris. (Bug from 4.0.2).
SHOW MASTER STATUSnow returns an empty set if binary log is not enabled.SHOW SLAVE STATUSnow returns an empty set if slave is not initialised.- Don't update MyISAM index file on update if not strictly necessary.
- Fixed bug in
SELECT DISTINCT ... FROM many_tables ORDER BY not-used-column. - Fixed a bug with
BIGINTvalues and quoted strings. - Added
QUOTE()function that performs SQL quoting to produce values that can be used as data values in queries. - Changed variable
DELAY_KEY_WRITEto an enum to allow one setDELAY_KEY_WRITEfor all tables without taking down the server. - Changed behaviour of
IF(condition,column,NULL)so that it returns the value of the column type. - Made
safe_mysqlda symlink tomysqld_safein binary distribution. - Fixed security bug when having an empty database name in the
user.dbtable. - Fixed some problems with
CREATE TABLE ... SELECT function(). mysqldnow has the option--temp-poolenabled by default as this gives better performance with some operating systems.- Fixed problem with too many allocated alarms on slave when connecting to master many times (normally not a very critical error).
- Fixed hang in
CHANGE MASTER TOif the slave thread died very quickly. - Big cleanup in replication code (less logging, better error messages, etc..)
- If the
--code-fileoption is specified, the server callssetrlimit()to set the maximum allowed core file size to unlimited, so core files can be generated. - Fixed bug in query cache after temporary table creation.
- Added
--count=N(-c) option tomysqladmin, to make the program do onlyNiterations. To be used with--sleep(-i). Useful in scripts. - Fixed bug in multi-table
UPDATE: when updating a table,do_select()became confused about reading records from a cache. - Fixed bug in multi-table
UPDATEwhen several fields were referenced from a single table - Fixed bug in truncating nonexisting table.
- Fixed bug in
REVOKEthat caused user resources to be randomly set. - Fixed bug in
GRANTfor the newCREATE TEMPORARY TABLEprivilege. - Fixed bug in multi-table
DELETEwhen tables are re-ordered in the table initialisation method and ref_lengths are of different sizes. - Fixed two bugs in
SELECT DISTINCTwith large tables. - Fixed bug in query cache initialisation with very small query cache size.
- Allow
DEFAULTwithINSERTstatement. - The startup parameters
myisam_max_sort_file_sizeandmyisam_max_extra_sort_file_sizeare now given in bytes, not megabytes. - External system locking of
MyISAM/ISAMfiles is now turned off by default. One can turn this on with--external-locking. (For most users this is never needed). - Fixed core dump bug with
INSERT ... SET db_name.table_name.colname=''. - Fixed client hangup bug when using some SQL commands with incorrect syntax.
- Fixed a timing bug in
DROP DATABASE - New
SET [GLOBAL | SESSION]syntax to change thread-specific and global server variables at runtime. - Added variable
slave_compressed_protocol. - Renamed variable
query_cache_startup_typetoquery_cache_type,myisam_bulk_insert_tree_sizetobulk_insert_buffer_size,record_buffertoread_buffer_sizeandrecord_rnd_buffertoread_rnd_buffer_size. - Renamed some SQL variables, but old names will still work until 5.0. Leia "Atualizando da Versão 3.23 para 4.0".
- Renamed
--skip-lockingto--skip-external-locking. - Removed unused variable
query_buffer_size. - Fixed a bug that made the pager option in the
MariaDBclient non-functional. - Added full
AUTO_INCREMENTsupport toMERGEtables. - Extended
LOG()function to accept an optional arbitrary base parameter. Leia "Funções Matematicas". - Added
LOG2()function (useful for finding out how many bits a number would require for storage). - Added
LN()natural logarithm function for compatibility with other databases. It is synonymous withLOG(X).