Query stucks when reading response

                 Key: DNET-304
                 URL: http://tracker.firebirdsql.org/browse/DNET-304
             Project: .NET Data provider
          Issue Type: Bug
          Components: ADO.NET Provider
    Affects Versions: 2.5.2
            Reporter: Jiri Cincura
            Assignee: Jiri Cincura
            Priority: Minor

using (FbCommand cmd = conn.CreateCommand())
        cmd.Parameters.Add(new FbParameter() { ParameterName = "@x", Value = 
new byte[] { 10, 20 } });
        cmd.CommandText = "select cast(@x as varchar(10) character set octets) 
from rdb$database";
        using (FbDataReader reader = cmd.ExecuteReader())
                while (reader.Read())
                        object s = reader[0];

Changing octets to utf8 "solves" the problem. Probably some wrongly created 
data for server.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: 
For more information on JIRA, see: http://www.atlassian.com/software/jira


Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
Firebird-net-provider mailing list

Reply via email to