Index: sql/connection.cc |
diff --git a/sql/connection.cc b/sql/connection.cc |
index 3f63301ace0115f30add936a3a0639ba52327b77..0f2df97f79b08bb9cf7bda12e803f6a73712e5e8 100644 |
--- a/sql/connection.cc |
+++ b/sql/connection.cc |
@@ -376,6 +376,12 @@ bool Connection::OpenInternal(const std::string& file_name) { |
NOTREACHED() << "Could not set cache size: " << GetErrorMessage(); |
} |
+ if (!ExecuteWithTimeout("PRAGMA secure_delete=ON", kBusyTimeout)) { |
+ NOTREACHED() << "Could not enable secure_delete: " << GetErrorMessage(); |
Scott Hess - ex-Googler
2011/08/09 20:33:37
NOTREACHED() means you'll never get to the Close()
Paweł Hajdan Jr.
2011/08/09 23:05:00
I used NOTREACHED() because code above uses it. Ho
Scott Hess - ex-Googler
2011/08/09 23:13:44
Doh! You're right, for some reason I was thinking
|
+ Close(); |
+ return false; |
+ } |
+ |
return true; |
} |