diff options
author | Jens-Christian Fischer <jens-christian.fischer@switch.ch> | 2015-04-11 18:06:21 +0200 |
---|---|---|
committer | Jens-Christian Fischer <jens-christian.fischer@switch.ch> | 2015-04-11 18:06:21 +0200 |
commit | 22c6216f5c8bf688585a3d3c2722408e15452283 (patch) | |
tree | 4875778460c8ad46915687f7748e18f583f3ff4b /lib/l10n/mt_MT.json | |
parent | 7ce4d2dec962e49066f8e15a518fadbfcf25a868 (diff) | |
download | nextcloud-server-22c6216f5c8bf688585a3d3c2722408e15452283.tar.gz nextcloud-server-22c6216f5c8bf688585a3d3c2722408e15452283.zip |
don't update identical values
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.
Diffstat (limited to 'lib/l10n/mt_MT.json')
0 files changed, 0 insertions, 0 deletions