Added test fixture for prepared statements.
All type classes now implement a
SerializeBinary
method for sending their data to aPacketWriter
.Added
PacketWriter
class that will enable future low-memory large object handling.Fixed many small bugs in running prepared statements and stored procedures.
Changed command so that an exception will not be thrown in executing a stored procedure with parameters in old syntax mode.
SingleRow
behavior now working right even with limit.GetBytes
now only works on binary columns.Logger now truncates long SQL commands so blob columns do not blow out our log.
Host and database now have a default value of "" unless otherwise set.
Connection Timeout seems to be ignored. (Bug#5214)
Added test case for bug# 5051: GetSchema not working correctly.
Fixed problem where
GetSchema
would return false forIsUnique
when the column is key.MySqlDataReader GetXXX
methods now using the field levelMySqlValue
object and not performing conversions.DataReader
returningNULL
for time column. (Bug#5097)Added test case for
LOAD DATA LOCAL INFILE
.Added replacetext custom nant task.
Added
CommandBuilderTest
fixture.Added Last One Wins feature to
CommandBuilder
.Fixed persist security info case problem.
Fixed
GetBool
so that 1, true, "true", and "yes" all count as true.Make parameter mark configurable.
Added the "old syntax" connection string parameter to enable use of @ parameter marker.
MySqlCommandBuilder
. (Bug#4658)ByteFX.MySqlClient
caches passwords ifPersist Security Info
is false. (Bug#4864)Updated license banner in all source files to include FLOSS exception.
Added new .Types namespace and implementations for most current MySql types.
Added
MySqlField41
as a subclass ofMySqlField
.Changed many classes to now use the new .Types types.
Changed type
enum int
toInt32
,short
toInt16
, andbigint
toInt64
.Added dummy types
UInt16
,UInt32
, andUInt64
to allow an unsigned parameter to be made.Connections are now reset when they are pulled from the connection pool.
Refactored auth code in driver so it can be used for both auth and reset.
Added
UserReset
test inPoolingTests.cs
.Connections are now reset using
COM_CHANGE_USER
when pulled from the pool.Implemented
SingleResultSet
behavior.Implemented support of unicode.
Added char set mappings for utf-8 and ucs-2.
Time fields overflow using bytefx .net mysql driver (Bug#4520)
Modified time test in data type test fixture to check for time spans where hours > 24.
Wrong string with backslash escaping in
ByteFx.Data.MySqlClient.MySqlParameter
. (Bug#4505)Added code to Parameter test case TestQuoting to test for backslashes.
MySqlCommandBuilder
fails with multi-word column names. (Bug#4486)Fixed bug in
TokenizeSql
where underscore would terminate character capture in parameter name.Added test case for spaces in column names.
MySqlDataReader.GetBytes
do not work correctly. (Bug#4324)Added
GetBytes()
test case toDataReader
test fixture.Now reading all server variables in
InternalConnection.Configure
intoHashtable
.Now using
string[]
for index map inCharSetMap
.Added CRInSQL test case for carriage returns in SQL.
Setting maxPacketSize to default value in
Driver.ctor
.Setting
MySqlDbType
on a parameter doesn't set generic type. (Bug#4442)Removed obsolete data types
Long
andLongLong
.Overflow exception thrown when using "use pipe" on connection string. (Bug#4071)
Changed "use pipe" keyword to "pipe name" or just "pipe".
Enable reading multiple resultsets from a single query.
Added flags attribute to
ServerStatusFlags
enum.Changed name of
ServerStatus
enum toServerStatusFlags
.Inserted data row doesn't update properly.
Error processing show create table. (Bug#4074)
Change
Packet.ReadLenInteger
toReadPackedLong
and addedpacket.ReadPackedInteger
that always reads integers packed with 2,3,4.Added
syntax.cs
test fixture to test various SQL syntax bugs.Improper handling of time values. Now time value of 00:00:00 is not treated as null. (Bug#4149)
Moved all test suite files into
TestSuite
folder.Fixed bug where null column would move the result packet pointer backward.
Added new nant build script.
Clear tablename so it will be regen'ed properly during the next
GenerateSchema
. (Bug#3917)GetValues
was always returning zero and was also always trying to copy all fields rather than respecting the size of the array passed in. (Bug#3915)Implemented shared memory access protocol.
Implemented prepared statements for MySQL 4.1.
Implemented stored procedures for MySQL 5.0.
Renamed
MySqlInternalConnection
toInternalConnection
.SQL is now parsed as chars, fixes problems with other languages.
Added logging and allow batch connection string options.
RowUpdating
event not set when setting theDataAdapter
property. (Bug#3888)Fixed bug in char set mapping.
Implemented 4.1 authentication.
Improved open/auth code in driver.
Improved how connection bits are set during connection.
Database name is now passed to server during initial handshake.
Changed namespace for client to
MySql.Data.MySqlClient
.Changed assembly name of client to
MySql.Data.dll
.Changed license text in all source files to GPL.
Added the
MySqlClient.build
Nant file.Removed the mono batch files.
Moved some of the unused files into notused folder so nant build file can use wildcards.
Implemented shared memory access.
Major revamp in code structure.
Prepared statements now working for MySql 4.1.1 and later.
Finished implementing auth for 4.0, 4.1.0, and 4.1.1.
Changed namespace from
MySQL.Data.MySQLClient
back toMySql.Data.MySqlClient
.Fixed bug in
CharSetMapping
where it was trying to use text names as ints.Changed namespace to
MySQL.Data.MySQLClient
.Integrated auth changes from UC2004.
Fixed bug where calling any of the GetXXX methods on a datareader before or after reading data would not throw the appropriate exception (thanks Luca Morelli).
Added
TimeSpan
code in parameter.cs to properly serialize a timespan object to mysql time format (thanks Gianluca Colombo).Added
TimeStamp
to parameter serialization code. PreventedDataAdatper
updates from working right (thanks Michael King).Fixed a misspelling in
MySqlHelper.cs
(thanks Patrick Kristiansen).