$OpenBSD: patch-mozilla_storage_src_mozStorageConnection_cpp,v 1.16 2015/07/05 20:18:06 landry Exp $
force the use of secure_delete instead of using internal sqlite copy
--- mozilla/storage/src/mozStorageConnection.cpp.orig	Wed Mar 11 08:56:27 2015
+++ mozilla/storage/src/mozStorageConnection.cpp	Thu Mar 19 21:22:24 2015
@@ -713,6 +713,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:
