summaryrefslogtreecommitdiff
path: root/ext/pdo/php_pdo_driver.h
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2005-02-27 22:32:11 +0000
committerMarcus Boerger <helly@php.net>2005-02-27 22:32:11 +0000
commit03a4a8c11d019532ea2781c3d213d6f616e251ff (patch)
tree6d82df11df522f040fcbec6d8f33432075916644 /ext/pdo/php_pdo_driver.h
parent893e9c04989fd31bbc6f7e5c7939d260a2c6e5d3 (diff)
downloadphp-git-03a4a8c11d019532ea2781c3d213d6f616e251ff.tar.gz
- Add some fetch column related capailities
- Add direct (classtype based) unserializing capabilities
Diffstat (limited to 'ext/pdo/php_pdo_driver.h')
-rwxr-xr-xext/pdo/php_pdo_driver.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/pdo/php_pdo_driver.h b/ext/pdo/php_pdo_driver.h
index 6348349dca..428be16928 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 20050226
+#define PDO_DRIVER_API 20050227
enum pdo_param_type {
PDO_PARAM_NULL,
@@ -95,6 +95,7 @@ enum pdo_fetch_type {
#define PDO_FETCH_GROUP 0x00010000 /* fetch into groups */
#define PDO_FETCH_UNIQUE 0x00030000 /* fetch into groups assuming first col is unique */
#define PDO_FETCH_CLASSTYPE 0x00040000 /* fetch class gets its class name from 1st column */
+#define PDO_FETCH_SERIALIZE 0x00080000 /* fetch class instances by calling serialize */
/* fetch orientation for scrollable cursors */
enum pdo_fetch_orientation {