Skip to content

Commit 5423b7e

Browse files
committed
Update SQLiteAdapter.swift
1 parent 42d23cc commit 5423b7e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Sources/SQLiteAdapter/SQLiteAdapter.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ open class SQLite: SQLiteType {
454454
}
455455
}
456456

457-
log("successfully read row(s), count: \(allRows.count), sql: \(sql)")
457+
log("successfully read a row(s), count: \(allRows.count), sql: \(sql)")
458458
return allRows
459459
}
460460

@@ -504,7 +504,7 @@ open class SQLite: SQLiteType {
504504
let sql = "SELECT * FROM \(table.name) WHERE \(table.primaryKey) = (SELECT MAX(\(table.primaryKey)) FROM \(table.name));"
505505
let result = try getRow(from: table, sql: sql)
506506
if result.count == 1 {
507-
log("successfully read last row in \(table.name)")
507+
log("successfully read the last row in \(table.name)")
508508
return result[0]
509509
} else {
510510
throw SQLiteError.Column(getErrorMessage(dbPointer: dbPointer))

0 commit comments

Comments
 (0)