--- embedaddon/php/ext/pdo/php_pdo_driver.h 2012/02/21 23:47:58 1.1 +++ embedaddon/php/ext/pdo/php_pdo_driver.h 2013/07/22 01:31:55 1.1.1.3 @@ -2,7 +2,7 @@ +----------------------------------------------------------------------+ | PHP Version 5 | +----------------------------------------------------------------------+ - | Copyright (c) 1997-2012 The PHP Group | + | Copyright (c) 1997-2013 The PHP Group | +----------------------------------------------------------------------+ | This source file is subject to version 3.01 of the PHP license, | | that is bundled with this package in the file LICENSE, and is | @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_pdo_driver.h,v 1.1 2012/02/21 23:47:58 misho Exp $ */ +/* $Id: php_pdo_driver.h,v 1.1.1.3 2013/07/22 01:31:55 misho Exp $ */ #ifndef PHP_PDO_DRIVER_H #define PHP_PDO_DRIVER_H @@ -310,6 +310,7 @@ struct pdo_dbh_methods { pdo_dbh_check_liveness_func check_liveness; pdo_dbh_get_driver_methods_func get_driver_methods; pdo_dbh_request_shutdown persistent_shutdown; + pdo_dbh_txn_func in_transaction; }; /* }}} */ @@ -430,10 +431,7 @@ struct _pdo_dbh_t { to allow the extending class to escape all the custom handlers that PDO declares. */ - zend_class_entry *ce; - HashTable *properties; - unsigned int in_get:1; - unsigned int in_set:1; + zend_object std; /* driver specific methods */ struct pdo_dbh_methods *methods; @@ -471,7 +469,7 @@ struct _pdo_dbh_t { /* when set, convert int/floats to strings */ unsigned stringify:1; - /* the sum of the number of bits here and the bit fields preceeding should + /* the sum of the number of bits here and the bit fields preceding should * equal 32 */ unsigned _reserved_flags:21; @@ -548,10 +546,7 @@ struct _pdo_stmt_t { to allow the extending class to escape all the custom handlers that PDO declares. */ - zend_class_entry *ce; - HashTable *properties; - unsigned int in_get:1; - unsigned int in_set:1; + zend_object std; /* driver specifics */ struct pdo_stmt_methods *methods;