Is this an error ?
  I created a table with 300 fields.
  I created a command to read the first 111 fields.
  When executing the command, the exception below ocurrs.

If I select the first 110 fields the query returns results.
FlameRobin can select and display all 300 fields.

Test Case Failures:
1) System.Data.Firebird.Tests.FirebirdDataLayer_Test.FTest :
System.IndexOutOfRangeException : Index was outside the bounds of the
array.

at FirebirdSql.Data.Common.IscHelper.VaxInteger(Byte[] buffer, Int32
index, Int32 length)
  in 
d:\Projects\SqlManager\FirebirdClient\NETProvider\source\FirebirdSql\Data\Common\IscHelper.cs:line
312
at 
FirebirdSql.Data.Client.Managed.Version10.GdsStatement.ParseTruncSqlInfo(Byte[]
info, Descriptor& rowDesc, Int32& lastIndex, Int32& currentPosition)
  in 
d:\Projects\SqlManager\FirebirdClient\NETProvider\source\FirebirdSql\Data\Client\Managed\Version10\GdsStatement.cs:line
722
at FirebirdSql.Data.Client.Managed.Version10.GdsStatement.ParseSqlInfo(Byte[]
info, Byte[] items, Int32& lastPosition)
  in 
d:\Projects\SqlManager\FirebirdClient\NETProvider\source\FirebirdSql\Data\Client\Managed\Version10\GdsStatement.cs:line
698
at 
FirebirdSql.Data.Client.Managed.Version10.GdsStatement.ProcessPrepareResponse(GenericResponse
response)
  in 
d:\Projects\SqlManager\FirebirdClient\NETProvider\source\FirebirdSql\Data\Client\Managed\Version10\GdsStatement.cs:line
465
at FirebirdSql.Data.Client.Managed.Version11.GdsStatement.Prepare(String
commandText)
  in 
d:\Projects\SqlManager\FirebirdClient\NETProvider\source\FirebirdSql\Data\Client\Managed\Version11\GdsStatement.cs:line
81
at FirebirdSql.Data.FirebirdClient.FbCommand.Prepare(Boolean returnsSet)
  in 
d:\Projects\SqlManager\FirebirdClient\NETProvider\source\FirebirdSql\Data\FirebirdClient\FbCommand.cs:line
1153
at FirebirdSql.Data.FirebirdClient.FbCommand.ExecuteCommand(CommandBehavior
behavior, Boolean returnsSet)
  in 
d:\Projects\SqlManager\FirebirdClient\NETProvider\source\FirebirdSql\Data\FirebirdClient\FbCommand.cs:line
1175
at FirebirdSql.Data.FirebirdClient.FbCommand.ExecuteReader(CommandBehavior
behavior)
  in 
d:\Projects\SqlManager\FirebirdClient\NETProvider\source\FirebirdSql\Data\FirebirdClient\FbCommand.cs:line
552

at System.Data.Firebird.FirebirdDataLayer.ExecuteReader(CommandType
commandType, String commandText, IParameterList commandParameters,
ITransaction commandTransaction)
  in 
d:\Projects\SqlManager\Primitive.Data\Data\Firebird\FirebirdDataLayer.cs:line
411
at System.Data.DataLayer.ExecuteReader(String commandName)
  in d:\Projects\SqlManager\Primitive.Data\Data\DataLayer.cs:line 946
at System.Data.Firebird.Tests.FirebirdDataLayer_Test.ReadFieldNames(IDataLayer
datalayer, Int32 first, Int32 last, Int32 times, String statement)
  in 
d:\Projects\SqlManager\Primitive.Data\Data\Firebird\FirebirdDataLayer.Test.cs:line
885
at System.Data.Firebird.Tests.FirebirdDataLayer_Test.FTest()
  in 
d:\Projects\SqlManager\Primitive.Data\Data\Firebird\FirebirdDataLayer.Test.cs:line
827


-- 

Gareth

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to