diff options
| author | Wez Furlong <wez@php.net> | 2006-04-09 08:05:01 +0000 |
|---|---|---|
| committer | Wez Furlong <wez@php.net> | 2006-04-09 08:05:01 +0000 |
| commit | 687e6ffc582291149f38cae628d24a5f426d846e (patch) | |
| tree | be0d58e64c952c7ec8340d9878782c040867fe14 /ext/pdo/php_pdo_driver.h | |
| parent | bb5f3aa0123d85e6e4270d35e330b49b74efdc5f (diff) | |
| download | php-git-687e6ffc582291149f38cae628d24a5f426d846e.tar.gz | |
Add "ATTR_EMULATE_PREPARES" general attribute to replace the custom
attributes employed by mysql and postgres drivers.
No functional change.
Diffstat (limited to 'ext/pdo/php_pdo_driver.h')
| -rwxr-xr-x | ext/pdo/php_pdo_driver.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/pdo/php_pdo_driver.h b/ext/pdo/php_pdo_driver.h index 2b9d947a6a..8444db0ace 100755 --- a/ext/pdo/php_pdo_driver.h +++ b/ext/pdo/php_pdo_driver.h @@ -44,7 +44,7 @@ PDO_API char *php_pdo_int64_to_str(pdo_int64_t i64 TSRMLS_DC); # define FALSE 0 #endif -#define PDO_DRIVER_API 20060327 +#define PDO_DRIVER_API 20060409 enum pdo_param_type { PDO_PARAM_NULL, @@ -129,6 +129,7 @@ enum pdo_attribute_type { PDO_ATTR_DRIVER_NAME, /* name of the driver (as used in the constructor) */ PDO_ATTR_STRINGIFY_FETCHES, /* converts integer/float types to strings during fetch */ PDO_ATTR_MAX_COLUMN_LEN, /* make database calculate maximum length of data found in a column */ + PDO_ATTR_EMULATE_PREPARES, /* use query emulation rather than native */ /* this defines the start of the range for driver specific options. * Drivers should define their own attribute constants beginning with this |
