]> granicus.if.org Git - php/commit
Fix PDO::inTransaction() test for pgsql
authorNikita Popov <nikic@php.net>
Sun, 24 Mar 2013 16:52:16 +0000 (17:52 +0100)
committerMatteo Beccati <mbeccati@php.net>
Sun, 2 Jun 2013 11:28:30 +0000 (13:28 +0200)
commitcbf90b1a908d8f5c1799a1e206b968f393ba7d99
tree5e18a662f8d3c72630d9f17253413c4c69439a5e
parent51c065f611c563c4b9fc0432be27fafd99424d8e
Fix PDO::inTransaction() test for pgsql

inTransaction() nowadays casts the in_transaction result to boolean.
I'm not sure whether the INERROR state should result in true or false.
For now I went with the result that we actually get.
ext/pdo_pgsql/tests/is_in_transaction.phpt