/PHP-8.1/ext/pdo/ |
H A D | php_pdo_driver.h | 23 typedef struct _pdo_dbh_t pdo_dbh_t; typedef 214 int (*db_handle_factory)(pdo_dbh_t *dbh, zval *driver_options); 221 typedef void (*pdo_dbh_close_func)(pdo_dbh_t *dbh); 236 typedef bool (*pdo_dbh_txn_func)(pdo_dbh_t *dbh); 267 typedef zend_result (*pdo_dbh_check_liveness_func)(pdo_dbh_t *dbh); 272 typedef void (*pdo_dbh_request_shutdown)(pdo_dbh_t *dbh); 505 pdo_dbh_t *inner; 577 pdo_dbh_t *dbh; 674 PDO_API void pdo_raise_impl_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, 677 PDO_API void php_pdo_dbh_addref(pdo_dbh_t *dbh); [all …]
|
H A D | pdo_dbh.c | 225 pdo_dbh_t *dbh = NULL; in PHP_METHOD() 298 pdo_dbh_t *pdbh = NULL; in PHP_METHOD() 322 pdbh = (pdo_dbh_t*)le->ptr; in PHP_METHOD() 501 pdo_dbh_t *dbh = dbh_obj->inner; in PHP_METHOD() 596 pdo_dbh_t *dbh = Z_PDO_DBH_P(ZEND_THIS); in PHP_METHOD() 626 pdo_dbh_t *dbh = Z_PDO_DBH_P(ZEND_THIS); in PHP_METHOD() 650 pdo_dbh_t *dbh = Z_PDO_DBH_P(ZEND_THIS); in PHP_METHOD() 674 pdo_dbh_t *dbh = Z_PDO_DBH_P(ZEND_THIS); in PHP_METHOD() 1096 pdo_dbh_t *dbh = dbh_obj->inner; in PHP_METHOD() 1234 pdo_dbh_t *dbh = dbh_obj->inner; in pdo_hash_methods() [all …]
|
H A D | php_pdo_error.h | 22 PDO_API void pdo_handle_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt);
|
/PHP-8.1/ext/pdo_dblib/ |
H A D | dblib_driver.c | 34 static void dblib_fetch_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, zval *info) in dblib_fetch_error() 75 static void dblib_handle_closer(pdo_dbh_t *dbh) in dblib_handle_closer() 109 static zend_long dblib_handle_doer(pdo_dbh_t *dbh, const zend_string *sql) in dblib_handle_doer() 195 static bool pdo_dblib_transaction_cmd(const char *cmd, pdo_dbh_t *dbh) in pdo_dblib_transaction_cmd() 210 static bool dblib_handle_begin(pdo_dbh_t *dbh) in dblib_handle_begin() 215 static bool dblib_handle_commit(pdo_dbh_t *dbh) in dblib_handle_commit() 220 static bool dblib_handle_rollback(pdo_dbh_t *dbh) in dblib_handle_rollback() 225 zend_string *dblib_handle_last_id(pdo_dbh_t *dbh, const zend_string *name) in dblib_handle_last_id() 273 static bool dblib_set_attr(pdo_dbh_t *dbh, zend_long attr, zval *val) in dblib_set_attr() 382 static int dblib_get_attribute(pdo_dbh_t *dbh, zend_long attr, zval *return_value) in dblib_get_attribute() [all …]
|
/PHP-8.1/ext/pdo_odbc/ |
H A D | odbc_driver.c | 30 static void pdo_odbc_fetch_error_func(pdo_dbh_t *dbh, pdo_stmt_t *stmt, zval *info) in pdo_odbc_fetch_error_func() 121 static void odbc_handle_closer(pdo_dbh_t *dbh) in odbc_handle_closer() 215 static zend_long odbc_handle_doer(pdo_dbh_t *dbh, const zend_string *sql) in odbc_handle_doer() 265 static bool odbc_handle_begin(pdo_dbh_t *dbh) in odbc_handle_begin() 281 static bool odbc_handle_commit(pdo_dbh_t *dbh) in odbc_handle_commit() 307 static bool odbc_handle_rollback(pdo_dbh_t *dbh) in odbc_handle_rollback() 333 static bool odbc_handle_set_attr(pdo_dbh_t *dbh, zend_long attr, zval *val) in odbc_handle_set_attr() 353 static int pdo_odbc_get_info_string(pdo_dbh_t *dbh, SQLUSMALLINT type, zval *val) in pdo_odbc_get_info_string() 368 static int odbc_handle_get_attr(pdo_dbh_t *dbh, zend_long attr, zval *val) in odbc_handle_get_attr() 392 static zend_result odbc_handle_check_liveness(pdo_dbh_t *dbh) in odbc_handle_check_liveness() [all …]
|
H A D | php_pdo_odbc_int.h | 167 void pdo_odbc_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, PDO_ODBC_HSTMT statement, char *what, const c…
|
/PHP-8.1/ext/pdo_sqlite/ |
H A D | sqlite_driver.c | 149 static void sqlite_handle_closer(pdo_dbh_t *dbh) /* {{{ */ in sqlite_handle_closer() 203 static zend_long sqlite_handle_doer(pdo_dbh_t *dbh, const zend_string *sql) in sqlite_handle_doer() 241 static bool sqlite_handle_begin(pdo_dbh_t *dbh) in sqlite_handle_begin() 255 static bool sqlite_handle_commit(pdo_dbh_t *dbh) in sqlite_handle_commit() 269 static bool sqlite_handle_rollback(pdo_dbh_t *dbh) in sqlite_handle_rollback() 298 static bool pdo_sqlite_set_attr(pdo_dbh_t *dbh, zend_long attr, zval *val) in pdo_sqlite_set_attr() 535 pdo_dbh_t *dbh; in PHP_METHOD() 601 pdo_dbh_t *dbh; in PHP_METHOD() 651 pdo_dbh_t *dbh; in PHP_METHOD() 695 static void pdo_sqlite_request_shutdown(pdo_dbh_t *dbh) in pdo_sqlite_request_shutdown() [all …]
|
H A D | php_pdo_sqlite_int.h | 69 extern int _pdo_sqlite_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, const char *file, int line);
|
/PHP-8.1/ext/pdo_pgsql/ |
H A D | pgsql_driver.c | 210 void pdo_pgsql_close_lob_streams(pdo_dbh_t *dbh) in pdo_pgsql_close_lob_streams() 557 static bool pgsql_handle_begin(pdo_dbh_t *dbh) in pgsql_handle_begin() 591 pdo_dbh_t *dbh; in PHP_METHOD() 704 pdo_dbh_t *dbh; in PHP_METHOD() 802 pdo_dbh_t *dbh; in PHP_METHOD() 896 pdo_dbh_t *dbh; in PHP_METHOD() 972 pdo_dbh_t *dbh; in PHP_METHOD() 1000 pdo_dbh_t *dbh; in PHP_METHOD() 1051 pdo_dbh_t *dbh; in PHP_METHOD() 1086 pdo_dbh_t *dbh; in PHP_METHOD() [all …]
|
H A D | php_pdo_pgsql_int.h | 76 extern int _pdo_pgsql_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, int errcode, const char *sqlstate, co… 110 void pdo_pgsql_close_lob_streams(pdo_dbh_t *dbh);
|
/PHP-8.1/ext/pdo_mysql/ |
H A D | mysql_driver.c | 42 int _pdo_mysql_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, const char *file, int line) in _pdo_mysql_error() 148 static void mysql_handle_closer(pdo_dbh_t *dbh) in mysql_handle_closer() 258 static zend_long mysql_handle_doer(pdo_dbh_t *dbh, const zend_string *sql) in mysql_handle_doer() 353 static bool mysql_handle_begin(pdo_dbh_t *dbh) in mysql_handle_begin() 369 static bool mysql_handle_commit(pdo_dbh_t *dbh) in mysql_handle_commit() 382 static bool mysql_handle_rollback(pdo_dbh_t *dbh) in mysql_handle_rollback() 395 static inline int mysql_handle_autocommit(pdo_dbh_t *dbh) in mysql_handle_autocommit() 588 static zend_result pdo_mysql_check_liveness(pdo_dbh_t *dbh) 603 static void pdo_mysql_request_shutdown(pdo_dbh_t *dbh) 624 static bool pdo_mysql_in_transaction(pdo_dbh_t *dbh) [all …]
|
H A D | pdo_mysql.c | 64 pdo_dbh_t * dbh = Z_PDO_DBH_P(zv); in ZEND_GET_MODULE()
|
H A D | php_pdo_mysql_int.h | 150 extern int _pdo_mysql_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, const char *file, int line);
|
/PHP-8.1/ext/pdo_firebird/ |
H A D | firebird_driver.c | 32 static int firebird_alloc_prepare_stmt(pdo_dbh_t*, const zend_string*, XSQLDA*, isc_stmt_handle*, 472 static void firebird_handle_closer(pdo_dbh_t *dbh) /* {{{ */ in firebird_handle_closer() 507 static bool firebird_handle_preparer(pdo_dbh_t *dbh, zend_string *sql, /* {{{ */ in firebird_handle_preparer() 592 static zend_long firebird_handle_doer(pdo_dbh_t *dbh, const zend_string *sql) /* {{{ */ in firebird_handle_doer() 702 static bool firebird_handle_begin(pdo_dbh_t *dbh) /* {{{ */ in firebird_handle_begin() 755 static bool firebird_handle_commit(pdo_dbh_t *dbh) /* {{{ */ in firebird_handle_commit() 768 static bool firebird_handle_rollback(pdo_dbh_t *dbh) /* {{{ */ in firebird_handle_rollback() 781 static int firebird_alloc_prepare_stmt(pdo_dbh_t *dbh, const zend_string *sql, in firebird_alloc_prepare_stmt() 831 static bool firebird_handle_set_attribute(pdo_dbh_t *dbh, zend_long attr, zval *val) /* {{{ */ in firebird_handle_set_attribute() 932 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 | 128 void _firebird_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, char const *file, zend_long line);
|
/PHP-8.1/ext/pdo_oci/ |
H A D | oci_driver.c | 32 static void pdo_oci_fetch_error_func(pdo_dbh_t *dbh, pdo_stmt_t *stmt, zval *info) /* {{{ */ in pdo_oci_fetch_error_func() 186 static void oci_handle_closer(pdo_dbh_t *dbh) /* {{{ */ in oci_handle_closer() 237 static bool oci_handle_preparer(pdo_dbh_t *dbh, zend_string *sql, pdo_stmt_t *stmt, zval *driver_op… in oci_handle_preparer() 309 static zend_long oci_handle_doer(pdo_dbh_t *dbh, const zend_string *sql) /* {{{ */ in oci_handle_doer() 395 static bool oci_handle_begin(pdo_dbh_t *dbh) /* {{{ */ in oci_handle_begin() 402 static bool oci_handle_commit(pdo_dbh_t *dbh) /* {{{ */ in oci_handle_commit() 416 static bool oci_handle_rollback(pdo_dbh_t *dbh) /* {{{ */ in oci_handle_rollback() 430 static bool oci_handle_set_attribute(pdo_dbh_t *dbh, zend_long attr, zval *val) /* {{{ */ in oci_handle_set_attribute() 578 static int oci_handle_get_attribute(pdo_dbh_t *dbh, zend_long attr, zval *return_value) /* {{{ */ in oci_handle_get_attribute() 667 static zend_result pdo_oci_check_liveness(pdo_dbh_t *dbh) /* {{{ */ in pdo_oci_check_liveness() [all …]
|
H A D | php_pdo_oci_int.h | 87 ub4 _oci_error(OCIError *err, pdo_dbh_t *dbh, pdo_stmt_t *stmt, char *what, sword status, int isini…
|