ByteFX.Data was renamed to ByteFX.MySqlClient

Description

ByteFX.Data was renamed to ByteFX.MySqlClient by bytefx, so the driver for bytefx should be updated to load the command and connection object from the right dll.

Instead of
connectionType = System.Type.GetType("ByteFX.Data.MySqlClient.MySqlConnection, ByteFX.Data");
commandType = System.Type.GetType("ByteFX.Data.MySqlClient.MySqlCommand, ByteFX.Data");

connectionType = System.Type.GetType("ByteFX.Data.MySqlClient.MySqlConnection, ByteFX.MySqlClient");
commandType = System.Type.GetType("ByteFX.Data.MySqlClient.MySqlCommand, ByteFX.MySqlClient");
should be written.

As I saw, the internal naming of the namespaces and classes wasn't changed.

Environment

None

Attachments

3

Activity

MikeM 
February 25, 2005 at 4:30 PM

0.7 was released

MikeM 
February 19, 2005 at 8:17 AM

As many issues as can be fixed with MySql have been.

Former user 
December 6, 2004 at 11:12 AM

Here are my changes to Connector/NET. They're not in form of a patch, because I haven't found a suitable diff.exe that would work on directories. Instead I just zipped the files I have changed.

This patch changes MySqlDateTime to round DateTime.MinValue to a zero date (0000-00-00) on writes, and MySqlDataReader.Get() to return DateTime instead of MySqlDateTime. To convert zero dates to DateTime.MinValue (on reads) you have to also include RoundZeroDatetime=true option in your connection string, otherwise reading zero dates causes an exception. Actually, enabling the rounding is strongly recommended, otherwise you'll be able to write zero dates to the DB, but will not be able to read them back.

Former user 
December 6, 2004 at 1:35 AM

Ah, yes, I completely forgot about my changes to Connector/NET, that's what fixes problems with DateTimes. I will probably put them somewhere here later (have to work now )

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Who's Looking?

Open Who's Looking?
Created March 30, 2004 at 4:50 AM
Updated August 31, 2008 at 8:10 AM
Resolved February 19, 2005 at 8:17 AM
Who's Looking?