From 6835366b0a0e2c710c9b08e01a3f004098c0a4b2 Mon Sep 17 00:00:00 2001 From: Charles Leifer Date: Wed, 20 May 2020 11:52:54 -0500 Subject: [PATCH] Bump parameter limit on sqlcipher (matches change in pysqlite3). --- setup.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.py b/setup.py index 1bd7bb7..0b5d6e2 100644 --- a/setup.py +++ b/setup.py @@ -100,6 +100,9 @@ class AmalgationLibSqliteBuilder(build_ext): # Required for SQLCipher. ext.define_macros.append(("SQLITE_TEMP_STORE", "2")) + # Increase the maximum number of "host parameters". + ext.define_macros.append(("SQLITE_MAX_VARIABLE_NUMBER", "250000")) + # Additional nice-to-have. ext.define_macros.extend(( ('SQLITE_DEFAULT_PAGE_SIZE', '4096'),