Skip to content

Commit cef7087

Browse files
committed
Typo statistic -> statistics
1 parent a9311a0 commit cef7087

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

src/FirebirdSql.Data.FirebirdClient/Common/Extensions.cs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,19 +53,18 @@ public static string ToHexString(this byte[] b)
5353
return BitConverter.ToString(b).Replace("-", string.Empty);
5454
}
5555

56-
public static IDictionary<short, ulong> GetTableStatistic(this byte[] b, int length)
56+
public static IDictionary<short, ulong> GetTableStatistics(this byte[] b, int length)
5757
{
5858
int capacity = length > 3 ? (length - 3) / 6 + 1 : 0;
5959

60-
var tableStatistic = new Dictionary<short, ulong>(capacity);
60+
var tableStatistics = new Dictionary<short, ulong>(capacity);
6161
for (var i = 3; i < length; i += 6)
6262
{
6363
var tableId = (short)IscHelper.VaxInteger(b, i, 2);
6464
var count = (ulong)IscHelper.VaxInteger(b, i + 2, 4);
65-
tableStatistic.Add(tableId, count);
65+
tableStatistics.Add(tableId, count);
6666
}
67-
68-
return tableStatistic;
67+
return tableStatistics;
6968
}
7069

7170
public static IEnumerable<IEnumerable<T>> Split<T>(this T[] array, int size)

src/FirebirdSql.Data.FirebirdClient/Common/IscHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public static List<object> ParseDatabaseInfo(byte[] buffer, Charset charset)
7777
case IscCodes.isc_info_update_count:
7878
case IscCodes.isc_info_read_seq_count:
7979
case IscCodes.isc_info_read_idx_count:
80-
info.Add(buffer.GetTableStatistic(length));
80+
info.Add(buffer.GetTableStatistics(length));
8181
break;
8282

8383
case IscCodes.isc_info_no_reserve:

0 commit comments

Comments
 (0)