summaryrefslogtreecommitdiff
path: root/ext/pdo/php_pdo_driver.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pdo/php_pdo_driver.h')
-rwxr-xr-xext/pdo/php_pdo_driver.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/ext/pdo/php_pdo_driver.h b/ext/pdo/php_pdo_driver.h
index 2341eaede4..0898f763ec 100755
--- a/ext/pdo/php_pdo_driver.h
+++ b/ext/pdo/php_pdo_driver.h
@@ -45,7 +45,7 @@ PDO_API char *php_pdo_int64_to_str(pdo_int64_t i64 TSRMLS_DC);
# define FALSE 0
#endif
-#define PDO_DRIVER_API 20061209
+#define PDO_DRIVER_API 20080721
enum pdo_param_type {
PDO_PARAM_NULL,
@@ -68,7 +68,12 @@ enum pdo_param_type {
PDO_PARAM_STMT, /* hierarchical result set */
/* get_col ptr should point to a zend_bool */
- PDO_PARAM_BOOL
+ PDO_PARAM_BOOL,
+
+ /* get_col ptr should point to a zval*
+ and the driver is responsible for adding correct type information to get_column_meta()
+ */
+ PDO_PARAM_ZVAL
};
/* magic flag to denote a parameter as being input/output */