From: <car...@us...> - 2004-09-30 21:15:17
|
Update of /cvsroot/firebird/NETProvider/NETProvider_17/source/FirebirdSql.Data.Common In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25619 Modified Files: EventParameterBuffer.cs Log Message: 2004-09-30 Carlos Guzman Alvarez <car...@te...> * FirebirdSql.Data.Gds/GdsDatabase.cs: * FirebirdSql.Data.Embedded/FesDatabase.cs: * FirebirdSql.Data.Common/EventParameterBuffer.cs: - Fixed EventParameter buffer handling. Index: EventParameterBuffer.cs =================================================================== RCS file: /cvsroot/firebird/NETProvider/NETProvider_17/source/FirebirdSql.Data.Common/EventParameterBuffer.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -b -U3 -r1.2 -r1.3 --- EventParameterBuffer.cs 28 Sep 2004 16:45:23 -0000 1.2 +++ EventParameterBuffer.cs 30 Sep 2004 21:14:57 -0000 1.3 @@ -25,11 +25,7 @@ { #region Constructors - public EventParameterBuffer() : base() - { - } - - public EventParameterBuffer(bool isLittleEndian) : base(isLittleEndian) + public EventParameterBuffer() : base(true) { } @@ -44,7 +40,7 @@ public void Append(byte[] content) { - this.Write((byte)content.Length); + this.WriteByte(content.Length); this.Write(content); this.Write(0); } |