[Tickets #1439] DataTree sql is not Oracle compatible

bugs at bugs.horde.org bugs at bugs.horde.org
Mon Feb 28 11:53:14 PST 2005


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

Ticket URL: http://bugs.horde.org/ticket/?id=1439
-----------------------------------------------------------------------
 Ticket             | 1439
 Updated By         | selsky at columbia.edu
 Summary            | DataTree sql is not Oracle compatible
 Queue              | Horde Base
 Version            | 3.0.3
 State              | Feedback
 Priority           | 2. Medium
 Type               | Bug
 Owners             | Horde Developers
-----------------------------------------------------------------------


selsky at columbia.edu (2005-02-28 11:53) wrote:

We need to change the following on line 973:

        $rows = $this->_db->getAssoc($query);

to

        $rows = $this->_db->getAssoc($query, false, $params);

And pass the arguments to the query in the $params array instead of
hard-coding them in the query itself.

buildAttributeQuery() needs to be changed to pass back a query and a param
list.  What's the best way to do that?




More information about the bugs mailing list