summarylogtreecommitdiffstats
path: root/squidguard-patch.diff
blob: 210ab4bbf19daf2dc31f2b295458012ec8f4b916 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- sgDb.c	2010-09-09 12:35:22.000000000 +0200
+++ sgDb.c	2017-09-17 19:27:47.347261770 +0200
@@ -112,7 +112,7 @@
     }
   }
 #endif
-#if DB_VERSION_MAJOR == 4
+#if DB_VERSION_MAJOR >= 4
   if(globalUpdate || createdb || (dbfile != NULL && stat(dbfile,&st))){
     flag = DB_CREATE;
     if(createdb)