From 7856fb12838099aadc44623e99a7c8bc29e5ecc6 Mon Sep 17 00:00:00 2001 From: "brettw%gmail.com" Date: Thu, 23 Feb 2006 01:05:23 +0000 Subject: [PATCH] Bug 328140, r=vladimir 0-fill deleted data so deleted history is not exposed in the file. --- db/sqlite3/src/Makefile.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/db/sqlite3/src/Makefile.in b/db/sqlite3/src/Makefile.in index 894ed592d60f..9dd51a691f90 100644 --- a/db/sqlite3/src/Makefile.in +++ b/db/sqlite3/src/Makefile.in @@ -95,7 +95,10 @@ CSRCS = \ where.c \ $(NULL) -DEFINES = -DSQLITE_ENABLE_REDEF_IO +# REFEF_IO allows us to override IO functions, which is used in the AsyncIO +# storage system. SECURE_DELETE will cause SQLITE to 0-fill delete data so we +# don't have to vacuum to make sure the data is not visible in the file. +DEFINES = -DSQLITE_ENABLE_REDEF_IO -DSQLITE_SECURE_DELETE=1 ifdef ENABLE_TESTS ##LIBS = $(DIST)/lib/$(LIB_PREFIX)sqlite3_s.$(LIB_SUFFIX)