summaryrefslogtreecommitdiffstats
path: root/lib/Db/NewsMapperV2.php
diff options
context:
space:
mode:
authoranoy <anoymouserver+github@mailbox.org>2021-02-01 21:15:30 +0100
committerSean Molenaar <SMillerDev@users.noreply.github.com>2021-02-02 13:48:55 +0100
commitf2b74a0ba1e762185b82e92379ce9e7366230c1e (patch)
tree8e1cb7896ced547f4793e39ba23409ef62a8b80c /lib/Db/NewsMapperV2.php
parentfb9a027ab51be77b04aeba3c74640f2c9e98f918 (diff)
fix item purger for PostgreSQL
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
Diffstat (limited to 'lib/Db/NewsMapperV2.php')
-rw-r--r--lib/Db/NewsMapperV2.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Db/NewsMapperV2.php b/lib/Db/NewsMapperV2.php
index f7179574c..b33266f8b 100644
--- a/lib/Db/NewsMapperV2.php
+++ b/lib/Db/NewsMapperV2.php
@@ -35,6 +35,13 @@ abstract class NewsMapperV2 extends QBMapper
const TABLE_NAME = null;
/**
+ * Maximum number of prepared parameters that PDO can handle
+ *
+ * @var int
+ */
+ const PDO_PARAMS_LIMIT = 65535;
+
+ /**
* @var Time
*/
private $time;