[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