summaryrefslogtreecommitdiff
path: root/ext/pdo/php_pdo_driver.h
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2005-07-20 03:38:33 +0000
committerIlia Alshanetsky <iliaa@php.net>2005-07-20 03:38:33 +0000
commit97e8c6f4a98a2074aa2261f6e64f983277e3b2ac (patch)
tree259c9dcdded49ea9c404a311a0b107bfed37e610 /ext/pdo/php_pdo_driver.h
parent79f3cb9856abe0537f3fbd6004c7e2ed82aaeb84 (diff)
downloadphp-git-97e8c6f4a98a2074aa2261f6e64f983277e3b2ac.tar.gz
Proper handling for databases that need to pre-calculate length of large
columns, which is not normally done for performance reasons.
Diffstat (limited to 'ext/pdo/php_pdo_driver.h')
-rwxr-xr-xext/pdo/php_pdo_driver.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/pdo/php_pdo_driver.h b/ext/pdo/php_pdo_driver.h
index 3f72f1dd0d..11650ac65e 100755
--- a/ext/pdo/php_pdo_driver.h
+++ b/ext/pdo/php_pdo_driver.h
@@ -128,6 +128,7 @@ enum pdo_attribute_type {
PDO_ATTR_FETCH_CATALOG_NAMES, /* include the catalog/db name names in the column names, where available */
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 */
/* this defines the start of the range for driver specific options.
* Drivers should define their own attribute constants beginning with this