Important change: Due to a number of issues with the use of server-side prepared statements, Connector/NET 5.0.2 has disabled their use by default. The disabling of server-side prepared statements does not affect the operation of the connector in any way.
To enable server-side prepared statements you must add the following configuration property to your connector string properties:
ignore prepare=false
The default value of this property is true.
Bugs fixed:
Trying to fill a table schema through a stored procedure triggers a runtime error. (Bug#25609)
MySqlConnection
throws an exception when
connecting to MySQL v4.1.7. (Bug#25726)
SELECT
did not work correctly when using a
WHERE
clause containing a UTF-8 string.
(Bug#25651)
Times with negative values would be returned incorrectly. (Bug#25912)
When closing and then re-opening a connection to a database, the character set specification is lost. (Bug#25614)
When connecting to a server, the return code from the connection could be zero, even though the hostname was incorrect. (Bug#24802)
Using ExecuteScalar()
with more than one
query, where one query fails, will hang the connection. (Bug#25443)
Nested transactions do not raise an error or warning. (Bug#22400)
When adding parameter objects to a command object, if the
parameter direction is set to ReturnValue
before the parameter is added to the command object then when
the command is executed it throws an error. (Bug#25013)
Additional text added to error message. (Bug#25178)
The CommandBuilder
would mistakenly add
insert parameters for a table column with auto incrementation
enabled. (Bug#23862)
Stored procedure executions are not thread safe. (Bug#23905)
Using Driver.IsTooOld()
would return the
wrong value. (Bug#24661)
When using a DbNull.Value
as the value for
a parameter value, and then later setting a specific value
type, the command would fail with an exception because the
wrong type was implied from the
DbNull.Value
. (Bug#24565)
Within Mono, using the PreparedStatement
interface could result in an error due to a
BitArray
copying error. (Bug 18186)
One system where IPv6 was enabled, Connector/NET would incorrectly resolve hostnames. (Bug#23758)
An System.OverflowException
would be raised
when accessing a varchar field over 255 bytes. Bug (#23749)
É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.