mirror of
https://github.com/pi-hole/FTL.git
synced 2026-07-02 22:45:41 +01:00
5ce1aca4d1
Signed-off-by: Dominik <dl6er@dl6er.de>
21 lines
571 B
Diff
21 lines
571 B
Diff
--- a/src/database/sqlite3.c
|
|
+++ b/src/database/sqlite3.c
|
|
@@ -188636,8 +188636,7 @@
|
|
** 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){
|
|
@@ -188746,7 +188745,6 @@
|
|
}
|
|
return zName;
|
|
}
|
|
-#endif
|
|
|
|
/*
|
|
** Return a static string that describes the kind of error specified in the
|