mirror of
https://github.com/pi-hole/FTL.git
synced 2025-12-21 11:18:53 +00:00
23 lines
782 B
Diff
23 lines
782 B
Diff
diff --git a/src/database/sqlite3.c b/src/database/sqlite3.c
|
|
index 2763b1b4..55f88efb 100644
|
|
--- a/src/database/sqlite3.c
|
|
+++ b/src/database/sqlite3.c
|
|
@@ -182744,8 +182744,7 @@ SQLITE_PRIVATE void sqlite3RollbackAll(sqlite3 *db, int tripCode){
|
|
** Return a static string containing the name corresponding to the error code
|
|
** specified in the argument.
|
|
*/
|
|
-#if defined(SQLITE_NEED_ERR_NAME)
|
|
-SQLITE_PRIVATE const char *sqlite3ErrName(int rc){
|
|
+SQLITE_API const char *sqlite3ErrName(int rc){
|
|
const char *zName = 0;
|
|
int i, origRc = rc;
|
|
for(i=0; i<2 && zName==0; i++, rc &= 0xff){
|
|
@@ -182850,7 +182849,6 @@ SQLITE_PRIVATE const char *sqlite3ErrName(int rc){
|
|
}
|
|
return zName;
|
|
}
|
|
-#endif
|
|
|
|
/*
|
|
** Return a static string that describes the kind of error specified in the
|