/PHP-7.1/ext/pdo/ |
H A D | php_pdo_driver.h | 27 typedef struct _pdo_dbh_t pdo_dbh_t; typedef 235 int (*db_handle_factory)(pdo_dbh_t *dbh, zval *driver_options); 242 typedef int (*pdo_dbh_close_func)(pdo_dbh_t *dbh); 254 typedef int (*pdo_dbh_txn_func)(pdo_dbh_t *dbh); 277 typedef int (*pdo_dbh_check_liveness_func)(pdo_dbh_t *dbh); 282 typedef void (*pdo_dbh_request_shutdown)(pdo_dbh_t *dbh); 506 pdo_dbh_t *inner; 582 pdo_dbh_t *dbh; 681 PDO_API void pdo_raise_impl_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, 684 PDO_API void php_pdo_dbh_addref(pdo_dbh_t *dbh); [all …]
|
H A D | pdo_dbh.c | 200 pdo_dbh_t *dbh = NULL; in PHP_METHOD() 271 pdo_dbh_t *pdbh = NULL; in PHP_METHOD() 295 pdbh = (pdo_dbh_t*)le->ptr; in PHP_METHOD() 475 pdo_dbh_t *dbh = dbh_obj->inner; in PHP_METHOD() 568 pdo_dbh_t *dbh = Z_PDO_DBH_P(getThis()); in PHP_METHOD() 601 pdo_dbh_t *dbh = Z_PDO_DBH_P(getThis()); in PHP_METHOD() 627 pdo_dbh_t *dbh = Z_PDO_DBH_P(getThis()); in PHP_METHOD() 1055 pdo_dbh_t *dbh = dbh_obj->inner; in PHP_METHOD() 1280 pdo_dbh_t *dbh = dbh_obj->inner; in pdo_hash_methods() 1379 pdo_dbh_t *dbh = Z_PDO_DBH_P(object); in dbh_get_gc() [all …]
|
H A D | php_pdo_error.h | 26 PDO_API void pdo_handle_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt);
|
/PHP-7.1/ext/pdo_dblib/ |
H A D | dblib_driver.c | 38 static int dblib_fetch_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, zval *info) in dblib_fetch_error() 81 static int dblib_handle_closer(pdo_dbh_t *dbh) in dblib_handle_closer() 116 static zend_long dblib_handle_doer(pdo_dbh_t *dbh, const char *sql, size_t sql_len) in dblib_handle_doer() 184 static int pdo_dblib_transaction_cmd(const char *cmd, pdo_dbh_t *dbh) in pdo_dblib_transaction_cmd() 199 static int dblib_handle_begin(pdo_dbh_t *dbh) in dblib_handle_begin() 204 static int dblib_handle_commit(pdo_dbh_t *dbh) in dblib_handle_commit() 209 static int dblib_handle_rollback(pdo_dbh_t *dbh) in dblib_handle_rollback() 214 char *dblib_handle_last_id(pdo_dbh_t *dbh, const char *name, size_t *len) in dblib_handle_last_id() 258 static int dblib_set_attr(pdo_dbh_t *dbh, zend_long attr, zval *val) in dblib_set_attr() 272 static int dblib_get_attribute(pdo_dbh_t *dbh, zend_long attr, zval *return_value) in dblib_get_attribute() [all …]
|
/PHP-7.1/ext/pdo_sqlite/ |
H A D | sqlite_driver.c | 89 static int pdo_sqlite_fetch_error_func(pdo_dbh_t *dbh, pdo_stmt_t *stmt, zval *info) in pdo_sqlite_fetch_error_func() 155 static int sqlite_handle_closer(pdo_dbh_t *dbh) /* {{{ */ in sqlite_handle_closer() 241 static int sqlite_handle_begin(pdo_dbh_t *dbh) in sqlite_handle_begin() 255 static int sqlite_handle_commit(pdo_dbh_t *dbh) in sqlite_handle_commit() 269 static int sqlite_handle_rollback(pdo_dbh_t *dbh) in sqlite_handle_rollback() 298 static int pdo_sqlite_set_attr(pdo_dbh_t *dbh, zend_long attr, zval *val) in pdo_sqlite_set_attr() 519 pdo_dbh_t *dbh; in PHP_METHOD() 589 pdo_dbh_t *dbh; in PHP_METHOD() 649 pdo_dbh_t *dbh; in PHP_METHOD() 696 static const zend_function_entry *get_driver_methods(pdo_dbh_t *dbh, int kind) in get_driver_methods() [all …]
|
H A D | php_pdo_sqlite_int.h | 73 extern int _pdo_sqlite_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, const char *file, int line);
|
/PHP-7.1/ext/pdo_odbc/ |
H A D | odbc_driver.c | 34 static int pdo_odbc_fetch_error_func(pdo_dbh_t *dbh, pdo_stmt_t *stmt, zval *info) in pdo_odbc_fetch_error_func() 59 void pdo_odbc_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, PDO_ODBC_HSTMT statement, char *what, const c… in pdo_odbc_error() 127 static int odbc_handle_closer(pdo_dbh_t *dbh) in odbc_handle_closer() 145 static int odbc_handle_preparer(pdo_dbh_t *dbh, const char *sql, size_t sql_len, pdo_stmt_t *stmt, … in odbc_handle_preparer() 223 static zend_long odbc_handle_doer(pdo_dbh_t *dbh, const char *sql, size_t sql_len) in odbc_handle_doer() 271 static int odbc_handle_begin(pdo_dbh_t *dbh) in odbc_handle_begin() 287 static int odbc_handle_commit(pdo_dbh_t *dbh) in odbc_handle_commit() 313 static int odbc_handle_rollback(pdo_dbh_t *dbh) in odbc_handle_rollback() 339 static int odbc_handle_set_attr(pdo_dbh_t *dbh, zend_long attr, zval *val) in odbc_handle_set_attr() 354 static int odbc_handle_get_attr(pdo_dbh_t *dbh, zend_long attr, zval *val) in odbc_handle_get_attr() [all …]
|
H A D | php_pdo_odbc_int.h | 170 void pdo_odbc_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, PDO_ODBC_HSTMT statement, char *what, const c…
|
/PHP-7.1/ext/pdo_pgsql/ |
H A D | pgsql_driver.c | 519 static int pgsql_handle_begin(pdo_dbh_t *dbh) in pgsql_handle_begin() 524 static int pgsql_handle_commit(pdo_dbh_t *dbh) in pgsql_handle_commit() 546 pdo_dbh_t *dbh; in PHP_METHOD() 657 pdo_dbh_t *dbh; in PHP_METHOD() 756 pdo_dbh_t *dbh; in PHP_METHOD() 851 pdo_dbh_t *dbh; in PHP_METHOD() 928 pdo_dbh_t *dbh; in PHP_METHOD() 955 pdo_dbh_t *dbh; in PHP_METHOD() 1007 pdo_dbh_t *dbh; in PHP_METHOD() 1043 pdo_dbh_t *dbh; in PHP_METHOD() [all …]
|
H A D | php_pdo_pgsql_int.h | 82 extern int _pdo_pgsql_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, int errcode, const char *sqlstate, co…
|
/PHP-7.1/ext/pdo_firebird/ |
H A D | firebird_driver.c | 34 static int firebird_alloc_prepare_stmt(pdo_dbh_t*, const char*, size_t, XSQLDA*, isc_stmt_handle*, 38 void _firebird_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, char const *file, zend_long line) /* {{{ */ in _firebird_error() 96 static int firebird_handle_closer(pdo_dbh_t *dbh) /* {{{ */ in firebird_handle_closer() 133 static int firebird_handle_preparer(pdo_dbh_t *dbh, const char *sql, size_t sql_len, /* {{{ */ in firebird_handle_preparer() 219 static zend_long firebird_handle_doer(pdo_dbh_t *dbh, const char *sql, size_t sql_len) /* {{{ */ in firebird_handle_doer() 321 static int firebird_handle_begin(pdo_dbh_t *dbh) /* {{{ */ in firebird_handle_begin() 374 static int firebird_handle_commit(pdo_dbh_t *dbh) /* {{{ */ in firebird_handle_commit() 387 static int firebird_handle_rollback(pdo_dbh_t *dbh) /* {{{ */ in firebird_handle_rollback() 479 static int firebird_handle_set_attribute(pdo_dbh_t *dbh, zend_long attr, zval *val) /* {{{ */ in firebird_handle_set_attribute() 563 static int firebird_handle_get_attribute(pdo_dbh_t *dbh, zend_long attr, zval *val) /* {{{ */ in firebird_handle_get_attribute() [all …]
|
H A D | php_pdo_firebird_int.h | 137 void _firebird_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, char const *file, zend_long line);
|
/PHP-7.1/ext/pdo_mysql/ |
H A D | mysql_driver.c | 46 int _pdo_mysql_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, const char *file, int line) in _pdo_mysql_error() 117 static int pdo_mysql_fetch_error_func(pdo_dbh_t *dbh, pdo_stmt_t *stmt, zval *info) in pdo_mysql_fetch_error_func() 141 static int mysql_handle_closer(pdo_dbh_t *dbh) in mysql_handle_closer() 254 static zend_long mysql_handle_doer(pdo_dbh_t *dbh, const char *sql, size_t sql_len) in mysql_handle_doer() 316 static int mysql_handle_begin(pdo_dbh_t *dbh) in mysql_handle_begin() 325 static int mysql_handle_commit(pdo_dbh_t *dbh) in mysql_handle_commit() 338 static int mysql_handle_rollback(pdo_dbh_t *dbh) in mysql_handle_rollback() 351 static inline int mysql_handle_autocommit(pdo_dbh_t *dbh) in mysql_handle_autocommit() 369 static int pdo_mysql_set_attribute(pdo_dbh_t *dbh, zend_long attr, zval *val) in pdo_mysql_set_attribute() 481 static int pdo_mysql_check_liveness(pdo_dbh_t *dbh) [all …]
|
H A D | pdo_mysql.c | 68 pdo_dbh_t * dbh = Z_PDO_DBH_P(zv); in ZEND_GET_MODULE()
|
H A D | php_pdo_mysql_int.h | 154 extern int _pdo_mysql_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, const char *file, int line);
|
/PHP-7.1/ext/pdo_oci/ |
H A D | oci_driver.c | 36 static int pdo_oci_fetch_error_func(pdo_dbh_t *dbh, pdo_stmt_t *stmt, zval *info) /* {{{ */ in pdo_oci_fetch_error_func() 198 static int oci_handle_closer(pdo_dbh_t *dbh) /* {{{ */ in oci_handle_closer() 251 static int oci_handle_preparer(pdo_dbh_t *dbh, const char *sql, size_t sql_len, pdo_stmt_t *stmt, z… in oci_handle_preparer() 325 static zend_long oci_handle_doer(pdo_dbh_t *dbh, const char *sql, size_t sql_len) /* {{{ */ in oci_handle_doer() 406 static int oci_handle_begin(pdo_dbh_t *dbh) /* {{{ */ in oci_handle_begin() 413 static int oci_handle_commit(pdo_dbh_t *dbh) /* {{{ */ in oci_handle_commit() 427 static int oci_handle_rollback(pdo_dbh_t *dbh) /* {{{ */ in oci_handle_rollback() 441 static int oci_handle_set_attribute(pdo_dbh_t *dbh, zend_long attr, zval *val) /* {{{ */ in oci_handle_set_attribute() 470 static int oci_handle_get_attribute(pdo_dbh_t *dbh, zend_long attr, zval *return_value) /* {{{ */ in oci_handle_get_attribute() 539 static int pdo_oci_check_liveness(pdo_dbh_t *dbh) /* {{{ */ in pdo_oci_check_liveness() [all …]
|
H A D | php_pdo_oci_int.h | 91 ub4 _oci_error(OCIError *err, pdo_dbh_t *dbh, pdo_stmt_t *stmt, char *what, sword status, int isini…
|