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: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
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.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to