From 5e0093aa00a6b52df88f526a5b6f737eff057e0b Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Wed, 26 Nov 2025 23:47:29 +0100 Subject: Fix MariaDB updateCachedValues (#8255) Changed syntax for an even wider compatibility. Follow-up of https://github.com/FreshRSS/FreshRSS/pull/8254 Regression from https://github.com/FreshRSS/FreshRSS/pull/6957 MariaDB images on Docker Hub go back to 10.6, so changed documentation to indicate support from that version, as I cannot easily test even older versions. --- app/Models/FeedDAOPGSQL.php | 1 + 1 file changed, 1 insertion(+) (limited to 'app/Models/FeedDAOPGSQL.php') diff --git a/app/Models/FeedDAOPGSQL.php b/app/Models/FeedDAOPGSQL.php index d09d2e1c9..07fbbf31d 100644 --- a/app/Models/FeedDAOPGSQL.php +++ b/app/Models/FeedDAOPGSQL.php @@ -13,6 +13,7 @@ SQL; #[\Override] public function updateCachedValues(int ...$feedIds): int|false { + // Compatible PostgreSQL, SQLite, MySQL 8.0+, but not MariaDB as of version 12.2. if (empty($feedIds)) { $whereFeedIds = 'true'; $whereEntryIdFeeds = 'true'; -- cgit v1.2.3