6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
9/21/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#606] Typecasting required in whups/lib/Driver/sql.php on Oracle
*
Your Email Address
*
Spam protection
Enter the letters below:
. ..__ .__ ._.. \ /[__)[__) | | \/ | \| _|_|___
Comment
> Okay I've returned back and fixed this issue. > > The solution I enclose contains of: > > 1. adding LOG_VALUE_NUM field of integer type to WHUPS_LOGS table > > 2. creating index on LOG_VALUE_NUM for fast JOIN's > > 3. filling LOG_VALUE_NUM field with numbers from LOG_VALUE field > > 4. fixing whups/lib/Driver/sql.php code to use LOG_VALUE_NUM in > JOIN's, cross-type comparisons > > 5. fixing whups/lib/Driver/sql.php code to insert corresponding value > into LOG_VALUE_NUM together with LOG_VALUE. > > > > The upgrade.php script does 1,2,3 and driversql.patch does 4,5. > > Note that upgrade.php script pretends to be database-portable, no > > Oracle-specific stuff is used, SQL operators are ANSI-compliant. > >
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