mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-25 04:07:47 +00:00
Better error message when ENABLE_UPDATE_DELETE_LIMIT is missing
This commit is contained in:
1 parent
eae70f426e
commit
dd4a2c5d9c
1 file changed
+2
-2
@@ -165,7 +165,7 @@ struct SQLQueryGenerator {
|
||||
if Database.sqliteCompileOptions.contains("ENABLE_UPDATE_DELETE_LIMIT") {
|
||||
sql += " LIMIT " + limit.sql
|
||||
} else {
|
||||
fatalError("Can't delete query with limit")
|
||||
fatalError("SQLite was not compiled with the ENABLE_UPDATE_DELETE_LIMIT option: can't delete query with limit")
|
||||
}
|
||||
}
|
||||
|
||||
@@ -227,7 +227,7 @@ struct SQLQueryGenerator {
|
||||
if Database.sqliteCompileOptions.contains("ENABLE_UPDATE_DELETE_LIMIT") {
|
||||
sql += " LIMIT " + limit.sql
|
||||
} else {
|
||||
fatalError("Can't delete query with limit")
|
||||
fatalError("SQLite was not compiled with the ENABLE_UPDATE_DELETE_LIMIT option: can't update query with limit")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user