/PHP-7.4/ext/pdo/ |
H A D | php_pdo_driver.h | 25 typedef struct _pdo_dbh_t pdo_dbh_t; typedef 242 int (*db_handle_factory)(pdo_dbh_t *dbh, zval *driver_options); 249 typedef int (*pdo_dbh_close_func)(pdo_dbh_t *dbh); 261 typedef int (*pdo_dbh_txn_func)(pdo_dbh_t *dbh); 284 typedef int (*pdo_dbh_check_liveness_func)(pdo_dbh_t *dbh); 289 typedef void (*pdo_dbh_request_shutdown)(pdo_dbh_t *dbh); 516 pdo_dbh_t *inner; 589 pdo_dbh_t *dbh; 688 PDO_API void pdo_raise_impl_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, 691 PDO_API void php_pdo_dbh_addref(pdo_dbh_t *dbh); [all …]
|
H A D | pdo_dbh.c | 226 pdo_dbh_t *dbh = NULL; in PHP_METHOD() 299 pdo_dbh_t *pdbh = NULL; in PHP_METHOD() 323 pdbh = (pdo_dbh_t*)le->ptr; in PHP_METHOD() 495 pdo_dbh_t *dbh = dbh_obj->inner; in PHP_METHOD() 589 pdo_dbh_t *dbh = Z_PDO_DBH_P(ZEND_THIS); in PHP_METHOD() 622 pdo_dbh_t *dbh = Z_PDO_DBH_P(ZEND_THIS); in PHP_METHOD() 648 pdo_dbh_t *dbh = Z_PDO_DBH_P(ZEND_THIS); in PHP_METHOD() 1076 pdo_dbh_t *dbh = dbh_obj->inner; in PHP_METHOD() 1285 pdo_dbh_t *dbh = dbh_obj->inner; in pdo_hash_methods() 1380 pdo_dbh_t *dbh = Z_PDO_DBH_P(object); in dbh_get_gc() [all …]
|
H A D | php_pdo_error.h | 24 PDO_API void pdo_handle_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt);
|
/PHP-7.4/ext/pdo_dblib/ |
H A D | dblib_driver.c | 36 static int dblib_fetch_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, zval *info) in dblib_fetch_error() 79 static int dblib_handle_closer(pdo_dbh_t *dbh) in dblib_handle_closer() 114 static zend_long dblib_handle_doer(pdo_dbh_t *dbh, const char *sql, size_t sql_len) in dblib_handle_doer() 200 static int pdo_dblib_transaction_cmd(const char *cmd, pdo_dbh_t *dbh) in pdo_dblib_transaction_cmd() 215 static int dblib_handle_begin(pdo_dbh_t *dbh) in dblib_handle_begin() 220 static int dblib_handle_commit(pdo_dbh_t *dbh) in dblib_handle_commit() 225 static int dblib_handle_rollback(pdo_dbh_t *dbh) in dblib_handle_rollback() 230 char *dblib_handle_last_id(pdo_dbh_t *dbh, const char *name, size_t *len) in dblib_handle_last_id() 274 static int dblib_set_attr(pdo_dbh_t *dbh, zend_long attr, zval *val) in dblib_set_attr() 366 static int dblib_get_attribute(pdo_dbh_t *dbh, zend_long attr, zval *return_value) in dblib_get_attribute() [all …]
|
/PHP-7.4/ext/pdo_odbc/ |
H A D | odbc_driver.c | 32 static int pdo_odbc_fetch_error_func(pdo_dbh_t *dbh, pdo_stmt_t *stmt, zval *info) in pdo_odbc_fetch_error_func() 57 void pdo_odbc_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, PDO_ODBC_HSTMT statement, char *what, const c… in pdo_odbc_error() 125 static int odbc_handle_closer(pdo_dbh_t *dbh) in odbc_handle_closer() 143 static int odbc_handle_preparer(pdo_dbh_t *dbh, const char *sql, size_t sql_len, pdo_stmt_t *stmt, … in odbc_handle_preparer() 222 static zend_long odbc_handle_doer(pdo_dbh_t *dbh, const char *sql, size_t sql_len) in odbc_handle_doer() 270 static int odbc_handle_begin(pdo_dbh_t *dbh) in odbc_handle_begin() 286 static int odbc_handle_commit(pdo_dbh_t *dbh) in odbc_handle_commit() 312 static int odbc_handle_rollback(pdo_dbh_t *dbh) in odbc_handle_rollback() 338 static int odbc_handle_set_attr(pdo_dbh_t *dbh, zend_long attr, zval *val) in odbc_handle_set_attr() 353 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 | 169 void pdo_odbc_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, PDO_ODBC_HSTMT statement, char *what, const c…
|
/PHP-7.4/ext/pdo_pgsql/ |
H A D | pgsql_driver.c | 509 static int pgsql_handle_begin(pdo_dbh_t *dbh) in pgsql_handle_begin() 514 static int pgsql_handle_commit(pdo_dbh_t *dbh) in pgsql_handle_commit() 536 pdo_dbh_t *dbh; in PHP_METHOD() 650 pdo_dbh_t *dbh; in PHP_METHOD() 749 pdo_dbh_t *dbh; in PHP_METHOD() 844 pdo_dbh_t *dbh; in PHP_METHOD() 921 pdo_dbh_t *dbh; in PHP_METHOD() 948 pdo_dbh_t *dbh; in PHP_METHOD() 1000 pdo_dbh_t *dbh; in PHP_METHOD() 1036 pdo_dbh_t *dbh; in PHP_METHOD() [all …]
|
H A D | php_pdo_pgsql_int.h | 80 extern int _pdo_pgsql_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, int errcode, const char *sqlstate, co…
|
/PHP-7.4/ext/pdo_sqlite/ |
H A D | sqlite_driver.c | 86 static int pdo_sqlite_fetch_error_func(pdo_dbh_t *dbh, pdo_stmt_t *stmt, zval *info) in pdo_sqlite_fetch_error_func() 152 static int sqlite_handle_closer(pdo_dbh_t *dbh) /* {{{ */ in sqlite_handle_closer() 242 static int sqlite_handle_begin(pdo_dbh_t *dbh) in sqlite_handle_begin() 256 static int sqlite_handle_commit(pdo_dbh_t *dbh) in sqlite_handle_commit() 270 static int sqlite_handle_rollback(pdo_dbh_t *dbh) in sqlite_handle_rollback() 299 static int pdo_sqlite_set_attr(pdo_dbh_t *dbh, zend_long attr, zval *val) in pdo_sqlite_set_attr() 528 pdo_dbh_t *dbh; in PHP_METHOD() 600 pdo_dbh_t *dbh; in PHP_METHOD() 663 pdo_dbh_t *dbh; in PHP_METHOD() 710 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 | 71 extern int _pdo_sqlite_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, const char *file, int line);
|
/PHP-7.4/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() 49 static int firebird_handle_closer(pdo_dbh_t *dbh) /* {{{ */ in firebird_handle_closer() 86 static int firebird_handle_preparer(pdo_dbh_t *dbh, const char *sql, size_t sql_len, /* {{{ */ in firebird_handle_preparer() 172 static zend_long firebird_handle_doer(pdo_dbh_t *dbh, const char *sql, size_t sql_len) /* {{{ */ in firebird_handle_doer() 283 static int firebird_handle_begin(pdo_dbh_t *dbh) /* {{{ */ in firebird_handle_begin() 336 static int firebird_handle_commit(pdo_dbh_t *dbh) /* {{{ */ in firebird_handle_commit() 349 static int firebird_handle_rollback(pdo_dbh_t *dbh) /* {{{ */ in firebird_handle_rollback() 441 static int firebird_handle_set_attribute(pdo_dbh_t *dbh, zend_long attr, zval *val) /* {{{ */ in firebird_handle_set_attribute() 536 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 | 139 void _firebird_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, char const *file, zend_long line);
|
/PHP-7.4/ext/pdo_mysql/ |
H A D | mysql_driver.c | 44 int _pdo_mysql_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, const char *file, int line) in _pdo_mysql_error() 118 static int pdo_mysql_fetch_error_func(pdo_dbh_t *dbh, pdo_stmt_t *stmt, zval *info) in pdo_mysql_fetch_error_func() 142 static int mysql_handle_closer(pdo_dbh_t *dbh) in mysql_handle_closer() 345 static int mysql_handle_begin(pdo_dbh_t *dbh) in mysql_handle_begin() 354 static int mysql_handle_commit(pdo_dbh_t *dbh) in mysql_handle_commit() 367 static int mysql_handle_rollback(pdo_dbh_t *dbh) in mysql_handle_rollback() 380 static inline int mysql_handle_autocommit(pdo_dbh_t *dbh) in mysql_handle_autocommit() 394 static int pdo_mysql_set_attribute(pdo_dbh_t *dbh, zend_long attr, zval *val) in pdo_mysql_set_attribute() 526 static int pdo_mysql_check_liveness(pdo_dbh_t *dbh) 541 static void pdo_mysql_request_shutdown(pdo_dbh_t *dbh) [all …]
|
H A D | pdo_mysql.c | 66 pdo_dbh_t * dbh = Z_PDO_DBH_P(zv); in ZEND_GET_MODULE()
|
H A D | php_pdo_mysql_int.h | 155 extern int _pdo_mysql_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, const char *file, int line);
|
/PHP-7.4/ext/pdo_oci/ |
H A D | oci_driver.c | 34 static int pdo_oci_fetch_error_func(pdo_dbh_t *dbh, pdo_stmt_t *stmt, zval *info) /* {{{ */ in pdo_oci_fetch_error_func() 190 static int oci_handle_closer(pdo_dbh_t *dbh) /* {{{ */ in oci_handle_closer() 243 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() 317 static zend_long oci_handle_doer(pdo_dbh_t *dbh, const char *sql, size_t sql_len) /* {{{ */ in oci_handle_doer() 398 static int oci_handle_begin(pdo_dbh_t *dbh) /* {{{ */ in oci_handle_begin() 405 static int oci_handle_commit(pdo_dbh_t *dbh) /* {{{ */ in oci_handle_commit() 419 static int oci_handle_rollback(pdo_dbh_t *dbh) /* {{{ */ in oci_handle_rollback() 433 static int oci_handle_set_attribute(pdo_dbh_t *dbh, zend_long attr, zval *val) /* {{{ */ in oci_handle_set_attribute() 551 static int oci_handle_get_attribute(pdo_dbh_t *dbh, zend_long attr, zval *return_value) /* {{{ */ in oci_handle_get_attribute() 620 static int pdo_oci_check_liveness(pdo_dbh_t *dbh) /* {{{ */ in pdo_oci_check_liveness() [all …]
|
H A D | php_pdo_oci_int.h | 89 ub4 _oci_error(OCIError *err, pdo_dbh_t *dbh, pdo_stmt_t *stmt, char *what, sword status, int isini…
|