Skip to content

Commit 7999c3f

Browse files
committed
Move Interrupt() method back to implementation only.
1 parent 5cb0e6c commit 7999c3f

3 files changed

Lines changed: 4 additions & 13 deletions

File tree

SQLitePCL.pretty/DatabaseConnection.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -431,12 +431,6 @@ public void WalCheckPoint(string dbName, WalCheckPointMode mode, out int nLog, o
431431
if (disposed) { throw new ObjectDisposedException(this.GetType().FullName); }
432432
db.WalCheckPoint(dbName, mode, out nLog, out nCkpt);
433433
}
434-
435-
public void Interrupt()
436-
{
437-
if (disposed) { throw new ObjectDisposedException(this.GetType().FullName); }
438-
db.Interrupt();
439-
}
440434

441435
public bool IsDatabaseReadOnly(string dbName)
442436
{

SQLitePCL.pretty/Interfaces.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,6 @@ public interface IDatabaseConnection
7272
/// <seealso href="https://www.sqlite.org/c3ref/table_column_metadata.html"/>
7373
TableColumnMetadata GetTableColumnMetadata(string dbName, string tableName, string columnName);
7474

75-
/// <summary>
76-
/// Causes any pending database operation to abort and return at its earliest opportunity.
77-
/// </summary>
78-
/// <seealso href="https://www.sqlite.org/c3ref/interrupt.html"/>
79-
void Interrupt();
80-
8175
/// <summary>
8276
/// Determine whether a database is readonly.
8377
/// </summary>

SQLitePCL.pretty/SQLiteDatabaseConnection.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -850,7 +850,10 @@ public TableColumnMetadata GetTableColumnMetadata(string dbName, string tableNam
850850
return new TableColumnMetadata(dataType, collSeq, notNull != 0, primaryKey != 0, autoInc != 0);
851851
}
852852

853-
/// <inheritdoc/>
853+
/// <summary>
854+
/// Causes any pending database operation to abort and return at its earliest opportunity.
855+
/// </summary>
856+
/// <seealso href="https://www.sqlite.org/c3ref/interrupt.html"/>
854857
public void Interrupt()
855858
{
856859
if (disposed) { throw new ObjectDisposedException(this.GetType().FullName); }

0 commit comments

Comments
 (0)