pdosqlexec doesn't throw exception for the non-first SQL instruction
|Reported by:||alex@…||Owned by:||mrook|
When pdosqlexec task process a dbdeploy file and we have a wrong SQL instruction but not the first instruction, PDO doesn't throw exception as explained in this bug https://bugs.php.net/bug.php?id=61613
To skip this bug, we can split the SQL file for a instruction for each delimiter.
Adding this control in DummyPDOQuerySplitter it works like a charm, the MySQL errors are showed.
Change History (6)
Changed 16 months ago by alex@…
comment:3 Changed 16 months ago by Michiel Rook
- Resolution set to fixed
- Status changed from new to closed