[sr-dev] driver error on query: Commands out of sync

Jan Janak jan at iptel.org
Tue Jun 9 13:14:35 CEST 2009


On 09-06 12:59, Iñaki Baz Castillo wrote:
> 2009/6/9 Jan Janak <jan at iptel.org>:
> > On 09-06 12:33, Iñaki Baz Castillo wrote:
> >> 2009/6/9 Jan Janak <jan at iptel.org>:
> >> > Neither could I find anything. Please try again with the debugging patch that
> >> > I sent you in a separate email and send the log output either to me privately
> >> > or to the list.
> >>
> >> such an error occurred in OpenSIPS and the cause was a module
> >> (xcap_client) which did a bad initialization for MySQL. The module was
> >> just loaded, but not used at all. Anyway it caused the error "driver
> >> error on query: Commands out of sync" when other modules used the
> >> database.
> >
> > Juha does not even load the module.
> 
> Yes I know. What I mean is that, just by having loaded a buggy module
> is enough to cause this MySQL issue in other modules.

Of course, this is because mysql connections are shared across modules and
this particular problem is related to a mysql connection being in a wrong
state when a select is to be executed.

  Jan.



More information about the sr-dev mailing list