Files
FTL/patch/sqlite3/0002-make-sqlite3ErrName-public.patch
T
Dominik 5ce1aca4d1 Update embedded SQLite3 to v3.53.1
Signed-off-by: Dominik <dl6er@dl6er.de>
2026-05-12 19:54:47 +02:00

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