$OpenBSD: patch-mozilla_storage_mozStorageConnection_cpp,v 1.1 2015/09/28 09:30:39 landry Exp $
force the use of secure_delete instead of using internal sqlite copy
--- mozilla/storage/mozStorageConnection.cpp.orig	Fri Sep 25 09:34:55 2015
+++ mozilla/storage/mozStorageConnection.cpp	Mon Sep 28 08:55:29 2015
@@ -785,6 +785,13 @@ Connection::initializeInternal()
     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:
