summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authormike bayer <mike_mp@zzzcomputing.com>2021-06-08 13:12:52 +0000
committerGerrit Code Review <gerrit@ci3.zzzcomputing.com>2021-06-08 13:12:52 +0000
commit14a4849e14a4f94dfcb5cef3600d439b7c716344 (patch)
treef9dd0016186b4d0544d1eb8fab8ee808ae505523 /lib
parent9dd9648f16c982546b0b9e80fbdba2dc4feb864f (diff)
parentfe80f92670949cde235af1d734264f59b52084c2 (diff)
downloadsqlalchemy-14a4849e14a4f94dfcb5cef3600d439b7c716344.tar.gz
Merge "Add note regarding encryption-related pragmas passed in the url in pysqlcipher."
Diffstat (limited to 'lib')
-rw-r--r--lib/sqlalchemy/dialects/sqlite/pysqlcipher.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/sqlalchemy/dialects/sqlite/pysqlcipher.py b/lib/sqlalchemy/dialects/sqlite/pysqlcipher.py
index 1a9337671..aafc00844 100644
--- a/lib/sqlalchemy/dialects/sqlite/pysqlcipher.py
+++ b/lib/sqlalchemy/dialects/sqlite/pysqlcipher.py
@@ -68,6 +68,11 @@ new connection. Currently, ``cipher``, ``kdf_iter``
e = create_engine('sqlite+pysqlcipher://:testing@/foo.db?cipher=aes-256-cfb&kdf_iter=64000')
+.. warning:: Previous versions of sqlalchemy did not take into consideration
+ the encryption-related pragmas passed in the url string, that were silently
+ ignored. This may cause errors when opening files saved by a
+ previous sqlalchemy version if the encryption options do not match.
+
Pooling Behavior
----------------