diff options
| author | Marcus Boerger <helly@php.net> | 2005-02-22 20:25:56 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2005-02-22 20:25:56 +0000 |
| commit | cb9658feefef450114c195f651adb729a059e91a (patch) | |
| tree | 0093143320c00b3e0dcb4e3984f2544e6a0e19fd /ext/pdo/php_pdo_driver.h | |
| parent | 3c743e3a9814fb31beab9e38ef3b37fcfcb8ccc9 (diff) | |
| download | php-git-cb9658feefef450114c195f651adb729a059e91a.tar.gz | |
- Revert signature of PDO:prepare()
old: proto object PDO::prepare(string statment [, array driver_options [, string classname ]])
now: proto object PDO::prepare(string statment [, array options])
param 'classname' and and 'ctor_args' are now set through options
using index PDO_ATTR_STATEMENT_CLASS
- Change all deriver_options parameters to 'options' to reflect the fact
that they may contain statement as well as driver specific flags
Diffstat (limited to 'ext/pdo/php_pdo_driver.h')
| -rwxr-xr-x | ext/pdo/php_pdo_driver.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/pdo/php_pdo_driver.h b/ext/pdo/php_pdo_driver.h index f4e70a939a..b0937a3e3f 100755 --- a/ext/pdo/php_pdo_driver.h +++ b/ext/pdo/php_pdo_driver.h @@ -111,6 +111,7 @@ enum pdo_attribute_type { PDO_ATTR_CURSOR, /* cursor type */ PDO_ATTR_ORACLE_NULLS, /* convert empty strings to NULL */ PDO_ATTR_PERSISTENT, /* pconnect style connection */ + PDO_ATTR_STATEMENT_CLASS, /* array(classname, array(ctor_args)) to specify the class of the constructed statement */ /* this defines the start of the range for driver specific options. * Drivers should define their own attribute constants beginning with this |
