Fixed client-side prepared statement bug with embedded
?
characters inside quoted identifiers
(it was recognized as a placeholder, when it was not).
Don't allow executeBatch()
for
CallableStatements
with registered
OUT
/INOUT
parameters
(JDBC compliance).
Fall back to platform-encoding for
URLDecoder.decode()
when parsing driver
URL properties if the platform doesn't have a two-argument
version of this method.
Java type conversion may be incorrect for
MEDIUMINT
. (Bug#14562)
Added configuration property
useGmtMillisForDatetimes
which when set
to true
causes
ResultSet.getDate()
,
.getTimestamp()
to return correct
millis-since GMT when .getTime()
is
called on the return value (currently default is
false
for legacy behavior).
Fixed
DatabaseMetaData.stores*Identifiers()
:
If lower_case_table_names=0
(on
server):
storesLowerCaseIdentifiers()
returns false
storesLowerCaseQuotedIdentifiers()
returns false
storesMixedCaseIdentifiers()
returns true
storesMixedCaseQuotedIdentifiers()
returns true
storesUpperCaseIdentifiers()
returns false
storesUpperCaseQuotedIdentifiers()
returns true
If lower_case_table_names=1
(on
server):
storesLowerCaseIdentifiers()
returns true
storesLowerCaseQuotedIdentifiers()
returns true
storesMixedCaseIdentifiers()
returns false
storesMixedCaseQuotedIdentifiers()
returns false
storesUpperCaseIdentifiers()
returns false
storesUpperCaseQuotedIdentifiers()
returns true
DatabaseMetaData.getColumns()
doesn't
return TABLE_NAME
correctly. (Bug#14815)
Escape processor replaces quote character in quoted string with string delimiter. (Bug#14909)
OpenOffice expects
DBMD.supportsIntegrityEnhancementFacility()
to return true
if foreign keys are
supported by the datasource, even though this method also
covers support for check constraints, which MySQL
doesn't have. Setting the configuration
property
overrideSupportsIntegrityEnhancementFacility
to true
causes the driver to return
true
for this method. (Bug#12975)
Added
com.mysql.jdbc.testsuite.url.default
system property to set default JDBC url for testsuite (to
speed up bug resolution when I'm working in Eclipse).
Unable to initialize character set mapping tables (due to J2EE classloader differences). (Bug#14938)
Deadlock while closing server-side prepared statements from multiple threads sharing one connection. (Bug#14972)
logSlowQueries
should give better info.
(Bug#12230)
Extraneous sleep on autoReconnect
. (Bug#13775)
Driver incorrectly closes streams passed as arguments to
PreparedStatements
. Reverts to legacy
behavior by setting the JDBC configuration property
autoClosePStmtStreams
to
true
(also included in the 3-0-Compat
configuration “bundle”). (Bug#15024)
maxQuerySizeToLog
is not respected. Added
logging of bound values for execute()
phase of server-side prepared statements when
profileSQL=true
as well. (Bug#13048)
Usage advisor complains about unreferenced columns, even though they've been referenced. (Bug#15065)
Don't increase timeout for failover/reconnect. (Bug#6577)
Process escape tokens in
Connection.prepareStatement(...)
. (Bug#15141) You can disable this behavior by setting the JDBC
URL configuration property
processEscapeCodesForPrepStmts
to
false
.
Reconnect during middle of executeBatch()
should not occur if autoReconnect
is
enabled. (Bug#13255)
É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.