From 81795e90b4245ebc86f36ff8e787302514ad4bcd Mon Sep 17 00:00:00 2001 From: link2xt Date: Sun, 16 Jan 2022 16:16:39 +0000 Subject: [PATCH] Uncomment config::DbConfig::SQLITE_DBCONFIG_RESET_DATABASE --- src/config.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/config.rs b/src/config.rs index 7876bec..7024b12 100644 --- a/src/config.rs +++ b/src/config.rs @@ -31,7 +31,9 @@ pub enum DbConfig { /// Includes or excludes output for any operations performed by trigger /// programs from the output of EXPLAIN QUERY PLAN commands. SQLITE_DBCONFIG_TRIGGER_EQP = 1008, // 3.22.0 - //SQLITE_DBCONFIG_RESET_DATABASE = 1009, + /// Activates or deactivates the "reset" flag for a database connection. + /// Run VACUUM with this flag set to reset the database. + SQLITE_DBCONFIG_RESET_DATABASE = 1009, /// Activates or deactivates the "defensive" flag for a database connection. SQLITE_DBCONFIG_DEFENSIVE = 1010, // 3.26.0 /// Activates or deactivates the "writable_schema" flag.