Reggie Burnett - 2004-03-17

Logged In: YES
user_id=523261

How are you inserting the values? can you send me some
code? The following test code worked ok for me.

string data = "my\x096\x09c\x086\x087 data";
MySqlCommand cmd = new MySqlCommand("INSERT INTO
Test1 VALUES (1, 'Reggie', @blob)", c);
cmd.Parameters.Add( "@blob", data );
cmd.ExecuteNonQuery();

cmd.CommandText = "SELECT * FROM Test1";
MySqlDataReader reader = cmd.ExecuteReader();
reader.Read();
string outData = reader.GetString(2)
byte[] buf = new byte[100];
long count = reader.GetBytes( 2, 0, buf, 0, 7 );

the buf array that is returned is ok as is the string that is
returned.