6.0.0-alpha10
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
5/15/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#12510] Driver: $_count cache gets dirty on modifications
*
Your Email Address
*
Spam protection
Enter the letters below:
. .. .. .. ..__ |_/ |\ ||\/||\ || \ | \| \|| || \||__/
Comment
> Hi, > > while reading through the Turba driver code, I've noticed > there is an internal cache for the total count of contacts: $_count. > > A generic count() implementation is in lib/Driver.php and a more specific > one for SQL in lib/Driver/Sql.php. > > IMHO we should reset (=unset) the count cache in > lib/Driver/Sql.php:_add(), _delete() and _deleteAll(). > Is the owner allowed to change in _save()? Then _modify() would be > affected, too. > Same goes for the generic count function. > > Cheers, > Thomas >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers