File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
src/FirebirdSql.Data.FirebirdClient/Common Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -53,13 +53,12 @@ public static string ToHexString(this byte[] b)
53
53
return BitConverter . ToString ( b ) . Replace ( "-" , string . Empty ) ;
54
54
}
55
55
56
- public static IDictionary < short , ulong > GetTableStatistic ( this byte [ ] b , int aLength )
56
+ public static IDictionary < short , ulong > GetTableStatistic ( this byte [ ] b , int length )
57
57
{
58
- int capacity = aLength > 3 ?
59
- ( aLength - 3 ) / 6 + 1 :
60
- 0 ;
58
+ int capacity = length > 3 ? ( length - 3 ) / 6 + 1 : 0 ;
59
+
61
60
var tableStatistic = new Dictionary < short , ulong > ( capacity ) ;
62
- for ( var i = 3 ; i < aLength ; i += 6 )
61
+ for ( var i = 3 ; i < length ; i += 6 )
63
62
{
64
63
var tableId = ( short ) IscHelper . VaxInteger ( b , i , 2 ) ;
65
64
var count = ( ulong ) IscHelper . VaxInteger ( b , i + 2 , 4 ) ;
You can’t perform that action at this time.
0 commit comments