Skip to content

Commit f5dfe2b

Browse files
committed
FbDatabaseInfo.GetActiveTransactions should return List<long> (#985)
1 parent e700ae0 commit f5dfe2b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Provider/src/FirebirdSql.Data.FirebirdClient/FirebirdClient/FbDatabaseInfo.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -341,13 +341,13 @@ public Task<long> GetNextTransactionAsync(CancellationToken cancellationToken =
341341
return GetValueAsync<long>(IscCodes.isc_info_next_transaction, cancellationToken);
342342
}
343343

344-
public int GetActiveTransactions()
344+
public List<long> GetActiveTransactions()
345345
{
346-
return GetValue<int>(IscCodes.isc_info_active_transactions);
346+
return GetList<long>(IscCodes.isc_info_active_transactions);
347347
}
348-
public Task<int> GetActiveTransactionsAsync(CancellationToken cancellationToken = default)
348+
public Task<List<long>> GetActiveTransactionsAsync(CancellationToken cancellationToken = default)
349349
{
350-
return GetValueAsync<int>(IscCodes.isc_info_active_transactions, cancellationToken);
350+
return GetListAsync<long>(IscCodes.isc_info_active_transactions, cancellationToken);
351351
}
352352

353353
public List<string> GetActiveUsers()

0 commit comments

Comments
 (0)