22c6216f5c
The UPDATE oc_filecache statement blindly overwrites identical data. Databases like Postgres that create a new row on an update and mark the old one as dead will suffer from the previous behaviour, as millions of "new" rows are created in the database. This patch changes the WHERE clause to test for identical values and not updating if the values in the DB are identical to the ones being passed. |
||
---|---|---|
.. | ||
cache | ||
config | ||
mount | ||
node | ||
objectstore | ||
storage | ||
stream | ||
type | ||
utils | ||
fileinfo.php | ||
filesystem.php | ||
mapper.php | ||
view.php |