[+/-]
The following changelog shows what has been done in the 5.0 tree:
Basic support for read-only server side cursors.
Basic support for (updatable) views. See, for example,
Sección 21.2, “Sintaxis de CREATE VIEW
”.
Basic support for stored procedures (SQL:2003 style). See Capítulo 19, Procedimientos almacenados y funciones.
Initial support for rudimentary triggers.
Added SELECT INTO
, which can be
of mixed (that is, global and local) types. See
Sección 19.2.9.3, “La sentencia list_of_vars
SELECT ... INTO
”.
Removed the update log. It is fully replaced by the binary log.
If the MySQL server is started with
--log-update
, it is translated to
--log-bin
(or ignored if the server is
explicitly started with --log-bin
), and a
warning message is written to the error log. Setting
SQL_LOG_UPDATE
silently sets
SQL_LOG_BIN
instead (or do nothing if the
server is explicitly started with --log-bin
).
Support for the ISAM
storage engine has been
removed. If you have ISAM
tables, you should
convert them before upgrading. See
Sección 2.10.1, “Aumentar la versión de 4.1 a 5.0”.
Support for RAID
options in
MyISAM
tables has been removed. If you have
tables that use these options, you should convert them before
upgrading. See Sección 2.10.1, “Aumentar la versión de 4.1 a 5.0”.
User variable names are now case insensitive: If you do
SET @a=10;
then SELECT @A;
now returns 10
. Case sensitivity of a
variable's value depends on the collation of the value.
Strict mode, which in essence means that you get an error instead of a warning when inserting an incorrect value into a column. See Sección 5.3.2, “El modo SQL del servidor”.
VARCHAR
and VARBINARY
columns remember end space. A VARCHAR()
or
VARBINARY
column can contain up to 65,535
characters or bytes, respectively.
MEMORY
(HEAP
) tables can
have VARCHAR()
columns.
When using a constant string or a function that generate a
string result in CREATE ... SELECT
, MySQL
creates the result field based on the max_length of the
string/expression:
max_length | Column type |
= 0 | CHAR(0) |
< 512 | VARCHAR(max_length) |
>= 512 | TEXT |
For a full list of changes, please refer to the changelog sections for each individual 5.0.x release.
Ésta es una traducción del manual de referencia de MySQL, que puede encontrarse en dev.mysql.com. El manual de referencia original de MySQL está escrito en inglés, y esta traducción no necesariamente está tan actualizada como la versión original. Para cualquier sugerencia sobre la traducción y para señalar errores de cualquier tipo, no dude en dirigirse a mysql-es@vespito.com.