aboutsummaryrefslogtreecommitdiff
path: root/src/pcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pcache.c')
-rw-r--r--src/pcache.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/pcache.c b/src/pcache.c
index 98343b277..c16606dd4 100644
--- a/src/pcache.c
+++ b/src/pcache.c
@@ -11,7 +11,7 @@
*************************************************************************
** This file implements that page cache.
**
-** @(#) $Id: pcache.c,v 1.40 2009/01/16 15:21:06 danielk1977 Exp $
+** @(#) $Id: pcache.c,v 1.41 2009/01/16 16:23:38 danielk1977 Exp $
*/
#include "sqliteInt.h"
@@ -431,8 +431,9 @@ void sqlite3PcacheClose(PCache *pCache){
/*
** Discard the contents of the cache.
*/
-void sqlite3PcacheClear(PCache *pCache){
+int sqlite3PcacheClear(PCache *pCache){
sqlite3PcacheTruncate(pCache, 0);
+ return SQLITE_OK;
}
/*