6.0.0-alpha12
▾
Tasks
New Task
Search
▾
Others
Photos
Wiki
Development
Tickets
New Ticket
Search
Toggle Alerts Log
Help
7/16/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#7363] Avoid bitwise operations in the SQL Share driver
*
Your Email Address
*
Spam protection
Enter the letters below:
.___._. .._.. . [__ | | | \ / | _|_\__|_|_ \/
Comment
> In general I am counter to a solution on the PHP part. As you still > need to load the data on the client site (probably from a remote > server) and process it. > > > > What about GROUP BY? > > DISTINCT is normaly used to remove duplicates. GROUP BY to aggregate > operators to each group. In our occasion DISTINCT and GROUP BY > generates the same query plan. Probably will be faster to use GROUP > BY for listings as better results in joins. > > Even for counting we can use GROUP BY where we need to return just > the number of rows affected instead of looping it into the > countShares(). > > > > Look at the patch. And try it on your data.
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