bug with compression!!
I'm having troubles when trying to retrieve data from a table with 55Mb size. (I'm using compression!!!)
the connectionstring that I'm using is:
"Server=localhost;User Id=root;Database=dbinfo_testes;Pooling=True;compress=True"
The error is discrebed bellow:
------
"Reading from the stream has failed."
at MySql.Data.MySqlClient.MySqlStream.LoadPacket()
at MySql.Data.MySqlClient.MySqlStream.OpenPacket()
at MySql.Data.MySqlClient.NativeDriver.FetchDataRow(Int32 statementId, Int32 pageSize, Int32 columns)
at MySql.Data.MySqlClient.NativeDriver.SkipDataRow()
at MySql.Data.MySqlClient.MySqlDataReader.ClearCurrentResultset()
at MySql.Data.MySqlClient.MySqlDataReader.NextResult()
at MySql.Data.MySqlClient.MySqlDataReader.Close()
at System.Data.Common.DbDataReader.Dispose(Boolean disposing)
at System.Data.Common.DbDataReader.Dispose()
at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable)
at ID.Lib.Data.IDSDBServices.QueryFill(DataSet dataSet, String tableName, String sql, Int32 startRecord, Int32 maxRecord, Object[] filtro, Object[] parameters) in C:\Sistemas\projetos\ID.Lib.Data\IDSDBServices.cs:line 141
---------
the inner exception is the following: "inflating: unknown compression method"
at zlib.ZInputStream.read(Byte[] b, Int32 off, Int32 len)
at MySql.Data.MySqlClient.CompressedStream.Read(Byte[] buffer, Int32 offset, Int32 count)
at System.IO.BufferedStream.ReadByte()
at MySql.Data.MySqlClient.MySqlStream.LoadPacket()