/PHP-7.2/ext/pdo/ |
H A D | php_pdo_driver.h | 27 typedef struct _pdo_dbh_t pdo_dbh_t; typedef 244 int (*db_handle_factory)(pdo_dbh_t *dbh, zval *driver_options); 251 typedef int (*pdo_dbh_close_func)(pdo_dbh_t *dbh); 263 typedef int (*pdo_dbh_txn_func)(pdo_dbh_t *dbh); 286 typedef int (*pdo_dbh_check_liveness_func)(pdo_dbh_t *dbh); 291 typedef void (*pdo_dbh_request_shutdown)(pdo_dbh_t *dbh); 515 pdo_dbh_t *inner; 588 pdo_dbh_t *dbh; 687 PDO_API void pdo_raise_impl_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, 690 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() 273 pdo_dbh_t *pdbh = NULL; in PHP_METHOD() 297 pdbh = (pdo_dbh_t*)le->ptr; in PHP_METHOD() 478 pdo_dbh_t *dbh = dbh_obj->inner; in PHP_METHOD() 572 pdo_dbh_t *dbh = Z_PDO_DBH_P(getThis()); in PHP_METHOD() 605 pdo_dbh_t *dbh = Z_PDO_DBH_P(getThis()); in PHP_METHOD() 631 pdo_dbh_t *dbh = Z_PDO_DBH_P(getThis()); in PHP_METHOD() 1061 pdo_dbh_t *dbh = dbh_obj->inner; in PHP_METHOD() 1288 pdo_dbh_t *dbh = dbh_obj->inner; in pdo_hash_methods() 1385 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.2/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() 202 static int pdo_dblib_transaction_cmd(const char *cmd, pdo_dbh_t *dbh) in pdo_dblib_transaction_cmd() 217 static int dblib_handle_begin(pdo_dbh_t *dbh) in dblib_handle_begin() 222 static int dblib_handle_commit(pdo_dbh_t *dbh) in dblib_handle_commit() 227 static int dblib_handle_rollback(pdo_dbh_t *dbh) in dblib_handle_rollback() 232 char *dblib_handle_last_id(pdo_dbh_t *dbh, const char *name, size_t *len) in dblib_handle_last_id() 276 static int dblib_set_attr(pdo_dbh_t *dbh, zend_long attr, zval *val) in dblib_set_attr() 295 static int dblib_get_attribute(pdo_dbh_t *dbh, zend_long attr, zval *return_value) in dblib_get_attribute() [all …]
|
/PHP-7.2/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() 245 static int sqlite_handle_begin(pdo_dbh_t *dbh) in sqlite_handle_begin() 259 static int sqlite_handle_commit(pdo_dbh_t *dbh) in sqlite_handle_commit() 273 static int sqlite_handle_rollback(pdo_dbh_t *dbh) in sqlite_handle_rollback() 302 static int pdo_sqlite_set_attr(pdo_dbh_t *dbh, zend_long attr, zval *val) in pdo_sqlite_set_attr() 522 pdo_dbh_t *dbh; in PHP_METHOD() 594 pdo_dbh_t *dbh; in PHP_METHOD() 657 pdo_dbh_t *dbh; in PHP_METHOD() 704 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.2/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.2/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.2/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() 274 static int firebird_handle_begin(pdo_dbh_t *dbh) /* {{{ */ in firebird_handle_begin() 327 static int firebird_handle_commit(pdo_dbh_t *dbh) /* {{{ */ in firebird_handle_commit() 340 static int firebird_handle_rollback(pdo_dbh_t *dbh) /* {{{ */ in firebird_handle_rollback() 432 static int firebird_handle_set_attribute(pdo_dbh_t *dbh, zend_long attr, zval *val) /* {{{ */ in firebird_handle_set_attribute() 516 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.2/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() 339 static int mysql_handle_begin(pdo_dbh_t *dbh) in mysql_handle_begin() 348 static int mysql_handle_commit(pdo_dbh_t *dbh) in mysql_handle_commit() 361 static int mysql_handle_rollback(pdo_dbh_t *dbh) in mysql_handle_rollback() 374 static inline int mysql_handle_autocommit(pdo_dbh_t *dbh) in mysql_handle_autocommit() 392 static int pdo_mysql_set_attribute(pdo_dbh_t *dbh, zend_long attr, zval *val) in pdo_mysql_set_attribute() 522 static int pdo_mysql_check_liveness(pdo_dbh_t *dbh) [all …]
|
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);
|
H A D | pdo_mysql.c | 68 pdo_dbh_t * dbh = Z_PDO_DBH_P(zv); in ZEND_GET_MODULE()
|
/PHP-7.2/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() 192 static int oci_handle_closer(pdo_dbh_t *dbh) /* {{{ */ in oci_handle_closer() 245 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() 319 static zend_long oci_handle_doer(pdo_dbh_t *dbh, const char *sql, size_t sql_len) /* {{{ */ in oci_handle_doer() 400 static int oci_handle_begin(pdo_dbh_t *dbh) /* {{{ */ in oci_handle_begin() 407 static int oci_handle_commit(pdo_dbh_t *dbh) /* {{{ */ in oci_handle_commit() 421 static int oci_handle_rollback(pdo_dbh_t *dbh) /* {{{ */ in oci_handle_rollback() 435 static int oci_handle_set_attribute(pdo_dbh_t *dbh, zend_long attr, zval *val) /* {{{ */ in oci_handle_set_attribute() 541 static int oci_handle_get_attribute(pdo_dbh_t *dbh, zend_long attr, zval *return_value) /* {{{ */ in oci_handle_get_attribute() 610 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…
|