[PHP-DB] [PDO] unexpected behaviour

2005-07-09 Thread Jochen Vajda
Hi all, Yesterday I played with PDO and I ran into an unexpected behaviour. In the following code, statement 2 is never executed because of a out of sync warning. But if you have exceptions enabled there is no exception thrown and you wonder about the result. Should a new statement not overr

[PHP-DB] [PDO] unexpected behaviour

2005-07-09 Thread Jochen Vajda
Hi all, Yesterday I played with PDO and I ran into an unexpected behaviour. In the following code, statement 2 is never executed because of a out of sync warning. But if you have exceptions enabled there is no exception thrown and you wonder about the result. Should a new statement not overr

[PHP-DB] Re: [PDO] unexpected behaviour

2005-07-09 Thread Wez Furlong
There were some issues with in the mysql driver; they were fixed just yesterday. If you upgrade to the latest snapshot from http://snaps.php.net, you should have better luck. You'll probably benefit from a deeper explanation of what's going on here, so here we go: Generally speaking, a driv