aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2018-09-20 20:15:02 +0000
committerdrh <drh@noemail.net>2018-09-20 20:15:02 +0000
commit42eb070729e4fc4a208502fcd494c01a1841c69c (patch)
tree727bedc71225fa7a25a85b925baa4e0deb18c237 /src/sqliteInt.h
parenteda079cd2c8ac1217574cd372c7bbcf6f651ccab (diff)
parent34566c4434203fe6ff2421af1c192b0b3ac4d410 (diff)
downloadsqlite-42eb070729e4fc4a208502fcd494c01a1841c69c.tar.gz
sqlite-42eb070729e4fc4a208502fcd494c01a1841c69c.zip
Add the "PRAGMA legacy_alter_table=ON" command to enable the pre-3.25.0
behavior of ALTER TABLE that does not modify the bodies of triggers or views or the WHERE clause of a partial index. Enable the legacy behavior by default when running the xRename method of virtual tables. FossilOrigin-Name: 7edd26ed27ed1e7eab603058f7d55f2eac45e7bd1908bfa5f32293611883b157
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index ba24c07aa..bdde5a9b2 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -1536,6 +1536,7 @@ struct sqlite3 {
#define SQLITE_EnableQPSG 0x00800000 /* Query Planner Stability Guarantee*/
#define SQLITE_TriggerEQP 0x01000000 /* Show trigger EXPLAIN QUERY PLAN */
#define SQLITE_ResetDatabase 0x02000000 /* Reset the database */
+#define SQLITE_LegacyAlter 0x04000000 /* Legacy ALTER TABLE behaviour */
/* Flags used only if debugging */
#ifdef SQLITE_DEBUG