diff options
Diffstat (limited to 'chromium/sql/connection.h')
-rw-r--r-- | chromium/sql/connection.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chromium/sql/connection.h b/chromium/sql/connection.h index b35e2faaf32..4606a1f357c 100644 --- a/chromium/sql/connection.h +++ b/chromium/sql/connection.h @@ -149,9 +149,12 @@ class SQL_EXPORT Connection { // other platforms. void set_restrict_to_user() { restrict_to_user_ = true; } - // Call to opt out of memory-mapped file I/O. + // Call to opt out of memory-mapped file I/O on per connection basis. void set_mmap_disabled() { mmap_disabled_ = true; } + // Call to opt out of memory-mapped file I/O on all connections. + static void set_mmap_disabled_by_default(); + // Set an error-handling callback. On errors, the error number (and // statement, if available) will be passed to the callback. // |