$OpenBSD: patch-mozilla_storage_src_mozStorageConnection_cpp,v 1.13 2013/01/11 23:17:32 landry Exp $
force the use of secure_delete instead of using internal sqlite copy
--- mozilla/storage/src/mozStorageConnection.cpp.orig	Thu Dec 20 05:56:01 2012
+++ mozilla/storage/src/mozStorageConnection.cpp	Wed Jan  2 20:39:30 2013
@@ -567,6 +567,13 @@ Connection::initialize(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:
