Projects
Kolab:16:Testing:Candidate
kolab-syncroton
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 49
View file
kolab-syncroton.spec
Changed
@@ -37,7 +37,7 @@ %global upstream_version 2.4.2 Name: kolab-syncroton -Version: 2.4.2.23 +Version: 2.4.2.24 Release: 1%{?dist} Summary: ActiveSync for Kolab Groupware
View file
debian.changelog
Changed
@@ -1,4 +1,4 @@ -kolab-syncroton (2.4.2.23-0~kolab1) unstable; urgency=low +kolab-syncroton (2.4.2.24-0~kolab1) unstable; urgency=low * Release version 2.4.2
View file
kolab-syncroton-2.4.2.tar.gz/lib/kolab_sync_storage.php
Changed
@@ -1969,20 +1969,21 @@ ); if ($row = $db->fetch_assoc()) { - // MariaDB's datetime output includes microseconds, we need to remove them, - // it must be "Y-m-d H:i:s" format - $synctime = preg_replace('/\.0-9+/', '', $row'synctime'); + // Don't use $row'synctime' for the internal cache. + // The synctime of the found row is usually earlier than the requested synctime. + // Note: We use internal cache because there's a call to both hasChanges() and + // getChangedEntries() in Sync. It's needed until we add some caching on a higher level. $this->relations$folderid$synctime = json_decode($row'data', true); - } - // Cleanup: remove all records except the current one - $db->query( - "DELETE FROM `syncroton_relations_state`" - . " WHERE `device_id` = ? AND `folder_id` = ? AND `synctime` <> ?", - $device_key, - $folderid, - $synctime - ); + // Cleanup: remove all records except the current one + $db->query( + "DELETE FROM `syncroton_relations_state`" + . " WHERE `device_id` = ? AND `folder_id` = ? AND `synctime` <> ?", + $device_key, + $folderid, + $row'synctime', + ); + } } return $this->relations$folderid$synctime ?? null;
View file
kolab-syncroton.dsc
Changed
@@ -2,7 +2,7 @@ Source: kolab-syncroton Binary: kolab-syncroton Architecture: all -Version: 1:2.4.2.23-1~kolab1 +Version: 1:2.4.2.24-1~kolab1 Maintainer: Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> Uploaders: Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> Homepage: http://www.kolab.org/
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.