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