mirror of
https://github.com/ncruces/go-sqlite3.git
synced 2026-01-12 05:59:14 +00:00
14 lines
431 B
Diff
14 lines
431 B
Diff
# Wrap sqlite3_vfs_find.
|
|
# This patch allows Go VFSes to be (un)registered.
|
|
--- sqlite3.c.orig
|
|
+++ sqlite3.c
|
|
@@ -26396,7 +26396,7 @@
|
|
** Locate a VFS by name. If no name is given, simply return the
|
|
** first VFS on the list.
|
|
*/
|
|
-SQLITE_API sqlite3_vfs *sqlite3_vfs_find(const char *zVfs){
|
|
+SQLITE_API sqlite3_vfs *sqlite3_vfs_find_orig(const char *zVfs){
|
|
sqlite3_vfs *pVfs = 0;
|
|
#if SQLITE_THREADSAFE
|
|
sqlite3_mutex *mutex;
|