summaryrefslogtreecommitdiff
path: root/src/mutex_noop.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mutex_noop.c')
-rw-r--r--src/mutex_noop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mutex_noop.c b/src/mutex_noop.c
index 456e82a..1a900c2 100644
--- a/src/mutex_noop.c
+++ b/src/mutex_noop.c
@@ -107,7 +107,7 @@ static int debugMutexEnd(void){ return SQLITE_OK; }
** that means that a mutex could not be allocated.
*/
static sqlite3_mutex *debugMutexAlloc(int id){
- static sqlite3_debug_mutex aStatic[6];
+ static sqlite3_debug_mutex aStatic[SQLITE_MUTEX_STATIC_APP3 - 1];
sqlite3_debug_mutex *pNew = 0;
switch( id ){
case SQLITE_MUTEX_FAST: