aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2011-12-23 01:04:17 +0000
committerdrh <drh@noemail.net>2011-12-23 01:04:17 +0000
commitcb15f35f3bcfe0ba3635ce1becc41c133838ceba (patch)
treed72fa318edd042827c34be5109d6463886808add /src/sqliteInt.h
parentbec7c97899cc6ff656ea134d2b718909e80c5063 (diff)
downloadsqlite-cb15f35f3bcfe0ba3635ce1becc41c133838ceba.tar.gz
sqlite-cb15f35f3bcfe0ba3635ce1becc41c133838ceba.zip
Change the name ZERO_DAMAGE to the more descriptive POWERSAFE_OVERWRITE.
The query parameter used to control this device characteristic is now "psow". FossilOrigin-Name: 6191c5e45175f5c6040e891843b0725a929d6dd7
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index 8613d865a..6e48b1c4f 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -126,6 +126,14 @@
#endif
/*
+** Powersafe overwrite is on by default. But can be turned off using
+** the -DSQLITE_POWERSAFE_OVERWRITE=0 command-line option.
+*/
+#ifndef SQLITE_POWERSAFE_OVERWRITE
+# define SQLITE_POWERSAFE_OVERWRITE 1
+#endif
+
+/*
** The SQLITE_DEFAULT_MEMSTATUS macro must be defined as either 0 or 1.
** It determines whether or not the features related to
** SQLITE_CONFIG_MEMSTATUS are available by default or not. This value can