[Tickets #9594] MySQLi multiple database queries causes fatal error

bugs at horde.org bugs at horde.org
Wed Feb 23 19:43:05 UTC 2011


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

Ticket URL: http://bugs.horde.org/h/whups/ticket/9594
------------------------------------------------------------------------------
  Ticket             | 9594
  Created By         | iron_hat at hotmail.com
  Summary            | MySQLi multiple database queries causes fatal error
  Queue              | Horde Framework Packages
  Version            | Git master
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


iron_hat at hotmail.com (2011-02-23 19:43) wrote:

Multiple queries to a mysql database using the mysqli Horde_Db adapter  
gives fatal errors such as:
QUERY FAILED: Commands out of sync; you can't run this command now

the application code is the following:
$data =  
$GLOBALS['injector']->getInstance('Application_Driver')->getTankHistorybyId($id,$start_time,  
$end_time);
((Code to process data results))
$name =  
$GLOBALS['injector']->getInstance('Application_Driver')->getTankNamefromId($id);

The driver code is much like the current state of Hermes.






More information about the bugs mailing list