Default message to reusable transaction should be null - i.e. empty.

This commit is contained in:
Carl Johnsen
2025-05-16 15:50:36 +02:00
parent c380989aad
commit 32b14908dd
@@ -82,7 +82,7 @@ internal class ReusableTransaction(LocalDatabase db, SqliteTransaction? transact
/// <param name="restart">True if the transaction should be restarted.</param>
/// <returns>An awaitable task.</returns>
/// <exception cref="InvalidOperationException">If the transaction is already Disposed.</exception>
public async Task CommitAsync(string? message, bool restart = true)
public async Task CommitAsync(string? message = null, bool restart = true)
{
if (m_disposed)
throw new InvalidOperationException("Transaction is already disposed");