mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-28 04:24:20 +00:00
Fix Swiftlint warning
This commit is contained in:
1 parent
3a42a4bf9f
commit
3103e6e373
1 file changed
+2
-1
@@ -642,7 +642,8 @@ public final class Database: CustomStringConvertible, CustomDebugStringConvertib
|
||||
SchedulingWatchdog.preconditionValidQueue(self)
|
||||
var walFrameCount: CInt = -1
|
||||
var checkpointedFrameCount: CInt = -1
|
||||
let code = sqlite3_wal_checkpoint_v2(sqliteConnection, dbName, kind.rawValue, &walFrameCount, &checkpointedFrameCount)
|
||||
let code = sqlite3_wal_checkpoint_v2(sqliteConnection, dbName, kind.rawValue,
|
||||
&walFrameCount, &checkpointedFrameCount)
|
||||
switch code {
|
||||
case SQLITE_OK:
|
||||
return (walFrameCount: Int(walFrameCount), checkpointedFrameCount: Int(checkpointedFrameCount))
|
||||
|
||||
Reference in new issue
Block a user