6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
10/20/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#7092] Query's from Drivers/SQl.php incompatibility with Mysql 5
*
Your Email Address
*
Spam protection
Enter the letters below:
.__..__ .. ..___ | |[__) ||\ |[__ |__\| \\__|| \||
Comment
>> I'm not sure I understand your issue. That query uses bind > >> parameters and goes through the DB abstraction layer before going to > >> mysql. Also, your report states this is from version 2.2 of > >> Kronolith, but the line number given in the error message does not > >> correspond to any line in 2.2 that would produce such a message. > >> Lastly, this works fine for me on 3 different boxes using various > >> flavors of mysql 5.0.x > >> > > > > Hi Michael, > > > > I will try to clarify you the question. > > > > I find the error reported to you on horde.log. > > > > I test de SELECT command executing it directly with mysql-client. I > found the same error. > > > > I think is a problem with the use of the character '?' on the > select. I think you are using it on some places in sql.php i.e.: > > > > line 502: "WHERE event_id = ?'" > > > > The version of sql.php I have installed is > > > > $Horde: kronolith/lib/Driver/sql.php,v 1.136.2.36 2008/05/14 19:41:02 > chuck Exp $ > > > > Patched with sql.php.patch and sql.php.2.patch. (I patched it after > the error), > > > > Can be it is a problem of backward compatibility of Mysql 5, and I > need to set any parameter on my.cnf, I'm checking it. > > > > If you consider this is not a bug I can to continue this discussion > on the mailing list. > > > > Thanks in advance. > > > > > > > > > > > > > >
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