aboutsummaryrefslogtreecommitdiff
path: root/app/Models/DatabaseDAO.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Models/DatabaseDAO.php')
-rw-r--r--app/Models/DatabaseDAO.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/Models/DatabaseDAO.php b/app/Models/DatabaseDAO.php
index 4bda44268..86f72b14c 100644
--- a/app/Models/DatabaseDAO.php
+++ b/app/Models/DatabaseDAO.php
@@ -10,6 +10,11 @@ class FreshRSS_DatabaseDAO extends Minz_ModelPdo {
const ER_BAD_TABLE_ERROR = '42S02';
const ER_DATA_TOO_LONG = '1406';
+ /**
+ * Based on SQLite SQLITE_MAX_VARIABLE_NUMBER
+ */
+ const MAX_VARIABLE_NUMBER = 998;
+
//MySQL InnoDB maximum index length for UTF8MB4
//https://dev.mysql.com/doc/refman/8.0/en/innodb-restrictions.html
const LENGTH_INDEX_UNICODE = 191;