Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FbDataReader.Read error reading a varchar column with character set OCTETS [DNET300] #313

Closed
firebird-automations opened this issue Mar 4, 2010 · 5 comments

Comments

@firebird-automations
Copy link

Submitted by: Loboda Vladimir (v.loboda)

If there is a varchar column in a table with character set OCTETS (e.g. COLUMN1 VARCHAR(100) CHARACTER SET OCTETS) it is an error by executing method Read of the FbDataReader. Message of the exception in such case is empty!

I think, it is an error in Client\Managed\Version10\XdrStream.cs,
method public object ReadValue(DbField field)
condition
if (field.Charset.IsOctetsCharset)
{
fieldValue = this.ReadOpaque(field.Length);
}

field.Length looks strange

Commits: cfd853e

@firebird-automations
Copy link
Author

Modified by: Loboda Vladimir (v.loboda)

priority: Major [ 3 ] => Critical [ 2 ]

@firebird-automations
Copy link
Author

Modified by: @cincuranet

Version: 2.5.1 [ 10360 ]

Version: 2.5.0 [ 10170 ]

Version: 2.1.0 [ 10102 ]

Component: http://ADO.NET Provider [ 10041 ]

@firebird-automations
Copy link
Author

Modified by: @cincuranet

status: Open [ 1 ] => In Progress [ 3 ]

@firebird-automations
Copy link
Author

Modified by: @cincuranet

status: In Progress [ 3 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 2.5.3 [ 10380 ]

@firebird-automations
Copy link
Author

Modified by: @cincuranet

Fix Version: 2.6 [ 10371 ]

Fix Version: 2.5.3 [ 10380 ] =>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants