[Tickets #7092] Re: Query's from Drivers/SQl.php incompatibility with Mysql 5

bugs at horde.org bugs at horde.org
Tue Jul 22 21:18:53 UTC 2008


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/7092
------------------------------------------------------------------------------
  Ticket             | 7092
  Updated By         | Michael Rubinsky <mrubinsk at horde.org>
  Summary            | Query's from Drivers/SQl.php incompatibility with
                     | Mysql 5
  Queue              | Kronolith
  Version            | 2.2
  Type               | Bug
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             | Michael Rubinsky
------------------------------------------------------------------------------


Michael Rubinsky <mrubinsk at horde.org> (2008-07-22 17:18) wrote:

> I test de SELECT command executing it directly with mysql-client. I
> found the same error.

Well, if all you did was paste that query into the client, then of  
course it won't work. The '?' is a placeholder that gets replaced with  
the real values when the actual query is done.

> 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 $

Again, line 435 in this version of the file would not output that  
error...are you 100% positive that you have not made local changes to  
this file?

> Patched with sql.php.patch and sql.php.2.patch. (I patched it after
> the error),

...and what patches are these? I have no idea what these patches are.

> 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.

Not likely.






More information about the bugs mailing list