A strange bug, is Mysql asynchronous?

Posted by Farf on Stack Overflow See other posts from Stack Overflow or by Farf
Published on 2010-03-08T15:34:54Z Indexed on 2010/03/08 15:36 UTC
Read the original article Hit count: 150

Filed under:
|
|
|

Hello,

I have a strange bug. I launch a PHP Unit test Suite. At the beginning, it executes a big query to initialize the database.

If I put a breakpoint just after the execution of the sql, there is no problem and my tests pass.

If I don't put any break point, they don't pass and say that the tables don't exist!

It works as if the sql query was asynchronous!

Do you have an idea of the bug? Or how to debug that?

Thanks a lot in advance for your help, I'm lost!

Farf

© Stack Overflow or respective owner

Related posts about mysql

Related posts about php5