[OpenSER-Devel] db_mysql commands out of sync
Juha Heinanen
jh at tutpro.com
Fri Mar 28 16:33:54 CET 2008
Juha Heinanen writes:
> i would really appreciate if db experts could help in solving this
> problem. what does Commands out of sync sync mean? when does it
> happen?
i found this in mysql 5.0 ref man:
B.1.2.14. Commands out of sync
If you get Commands out of sync; you can't run this command now in your
client code, you are calling client functions in the wrong order.
This can happen, for example, if you are using mysql_use_result() and
try to execute a new query before you have called
mysql_free_result(). It can also happen if you try to execute two
queries that return data without calling mysql_use_result() or
mysql_store_result() in between.
now the question remains, how to find who (core/module) is causing the
problem?
-- juha
More information about the Devel
mailing list