$OpenBSD: patch-mozilla_storage_src_mozStorageConnection_cpp,v 1.15 2014/07/24 18:24:03 landry Exp $
force the use of secure_delete instead of using internal sqlite copy
--- mozilla/storage/src/mozStorageConnection.cpp.orig	Fri Jun 13 09:59:52 2014
+++ mozilla/storage/src/mozStorageConnection.cpp	Sat Jun 14 18:09:23 2014
@@ -693,6 +693,13 @@ Connection::initializeInternal(nsIFile* aDatabaseFile)
     return convertResultCode(srv);
   }
 
+  srv = ::sqlite3_exec(mDBConn, "PRAGMA secure_delete = ON", NULL, NULL, NULL);
+  if (srv != SQLITE_OK) {
+    ::sqlite3_close(mDBConn);
+    mDBConn = nullptr;
+    return convertResultCode(srv);
+  }
+
   // Set the synchronous PRAGMA, according to the preference.
   switch (Service::getSynchronousPref()) {
     case 2:
