]> granicus.if.org Git - php/commit
Allow PDO drivers custom methods to trigger errors/exceptions
authorMatteo Beccati <mbeccati@php.net>
Tue, 4 Jun 2013 14:49:16 +0000 (16:49 +0200)
committerMatteo Beccati <mbeccati@php.net>
Tue, 4 Jun 2013 14:49:16 +0000 (16:49 +0200)
commit1e36e45d97da9e212b00f339c90b995908efa70c
tree92606146daf3226741dae0ba87474197d29a18ee
parentb144c263191f857391d3cc009951c95d25a2cdb3
Allow PDO drivers custom methods to trigger errors/exceptions

Moved a few definitions from php_pdo_int.h to a new php_pdo_error.h
header file that can be included if drivers need PDO's own error
handling to be triggered within custom methods (e.g. PDO::pgsqlLOBOpen).
ext/pdo/Makefile.frag
ext/pdo/php_pdo_error.h [new file with mode: 0644]
ext/pdo/php_pdo_int.h