Index: subversion/libsvn_subr/sqlite.c
===================================================================
--- subversion/libsvn_subr/sqlite.c	(revision 1244784)
+++ subversion/libsvn_subr/sqlite.c	(working copy)
@@ -811,6 +811,10 @@ svn_sqlite__open(svn_sqlite__db_t **db, const char
      setting SQLITE_TEMP_STORE to 0 (always to disk) */
   svn_error_clear(exec_sql(*db, "PRAGMA temp_store = MEMORY;"));
 
+  /* Testing */
+  if (getenv("_SVN_PRAGMA"))
+    SVN_ERR(exec_sql(*db, getenv("_SVN_PRAGMA")));
+
   /* Store the provided statements. */
   if (statements)
     {

