DatabaseParameterBuffer has a bug
---------------------------------

                 Key: DNET-248
                 URL: http://tracker.firebirdsql.org/browse/DNET-248
             Project: .NET Data provider
          Issue Type: Sub-task
          Components: ADO.NET Provider
            Reporter: Jiri Cincura
            Assignee: Jiri Cincura


class DatabaseParameterBuffer has a bug in method 
        public void Append(int type, byte value) 
        { 
            this.WriteByte(type); 
            this.WriteByte(1); 
            this.Write(value); //this is a bug 
        } 
this method writes 4 bytes instead of 3 because the base class ParameterBuffer 
has no Write(byte) overload so Write(short) is used

-- 
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

        

------------------------------------------------------------------------------
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to