Merge pull request #535 from torrentpier/fixed-sqlite-issue

Fixed SQLite caching issue
This commit is contained in:
Roman Kelesidis 2023-02-19 15:34:31 +07:00 committed by GitHub
commit 10436f55fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -59,7 +59,7 @@ class Sqlite extends Common
SELECT cache_name, cache_value SELECT cache_name, cache_value
FROM " . $this->cfg['table_name'] . " FROM " . $this->cfg['table_name'] . "
WHERE cache_name IN('$this->prefix_sql" . implode("','$this->prefix_sql", $name_sql) . "') AND cache_expire_time > " . TIMENOW . " WHERE cache_name IN('$this->prefix_sql" . implode("','$this->prefix_sql", $name_sql) . "') AND cache_expire_time > " . TIMENOW . "
LIMIT " . \count($name) . " LIMIT " . \count($name_sql) . "
"); ");
$this->db->debug('start', 'unserialize()'); $this->db->debug('start', 'unserialize()');