After running sql, which was prepared by stmt, and after that executed...
I've receieved error:
Code:
COMMANDS OUT OF SYNC; YOU CAN'T RUN THIS COMMAND NOW
I know what this error means.
This made me to lost 2 hours by debuging script and then activating mysql debug trace!

Problem was that during creation of mysqli instance, I've supplied wrong database name!

I was so pissed off!

If I did get a CORRECT error, I wouldn't have to go through all of this time wasting debuging!

Versions:
PHP: 5.3.0alpha3 - WinXP
MySQL: 5.1.30 - WinXP

Is this a bug?