mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-07 02:42:48 +03:00
Fix an inconsistent #ifdef in wal.c. Fix os_unix.c so that it does not allow
moving an SHM lock directly exclusive to shared without going through unlocked. FossilOrigin-Name: 552658da2845c2323167b6c7db6e5c00090f280c
This commit is contained in:
@@ -226,10 +226,8 @@
|
||||
/*
|
||||
** Trace output macros
|
||||
*/
|
||||
#if defined(SQLITE_TEST) || defined(SQLITE_DEBUG)
|
||||
int sqlite3WalTrace = 0;
|
||||
#endif
|
||||
#if defined(SQLITE_TEST) && defined(SQLITE_DEBUG)
|
||||
int sqlite3WalTrace = 0;
|
||||
# define WALTRACE(X) if(sqlite3WalTrace) sqlite3DebugPrintf X
|
||||
#else
|
||||
# define WALTRACE(X)
|
||||
|
Reference in New Issue
Block a user