/php-src/ext/pdo/ |
H A D | php_pdo_driver.h | 23 typedef struct _pdo_dbh_t pdo_dbh_t; typedef 215 int (*db_handle_factory)(pdo_dbh_t *dbh, zval *driver_options); 222 typedef void (*pdo_dbh_close_func)(pdo_dbh_t *dbh); 237 typedef bool (*pdo_dbh_txn_func)(pdo_dbh_t *dbh); 268 typedef zend_result (*pdo_dbh_check_liveness_func)(pdo_dbh_t *dbh); 273 typedef void (*pdo_dbh_request_shutdown)(pdo_dbh_t *dbh); 510 pdo_dbh_t *inner; 582 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 | 303 pdo_dbh_t *dbh = NULL; in php_pdo_internal_construct_driver() 386 pdo_dbh_t *pdbh = NULL; in php_pdo_internal_construct_driver() 410 pdbh = (pdo_dbh_t*)le->ptr; in php_pdo_internal_construct_driver() 587 pdo_dbh_t *dbh = dbh_obj->inner; in PHP_METHOD() 686 pdo_dbh_t *dbh = Z_PDO_DBH_P(ZEND_THIS); in PHP_METHOD() 716 pdo_dbh_t *dbh = Z_PDO_DBH_P(ZEND_THIS); in PHP_METHOD() 740 pdo_dbh_t *dbh = Z_PDO_DBH_P(ZEND_THIS); in PHP_METHOD() 764 pdo_dbh_t *dbh = Z_PDO_DBH_P(ZEND_THIS); in PHP_METHOD() 1191 pdo_dbh_t *dbh = dbh_obj->inner; in PHP_METHOD() 1339 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-src/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() 237 static bool sqlite_handle_begin(pdo_dbh_t *dbh) in sqlite_handle_begin() 248 static bool sqlite_handle_commit(pdo_dbh_t *dbh) in sqlite_handle_commit() 259 static bool sqlite_handle_rollback(pdo_dbh_t *dbh) in sqlite_handle_rollback() 285 static bool pdo_sqlite_in_transaction(pdo_dbh_t *dbh) in pdo_sqlite_in_transaction() 294 static bool pdo_sqlite_set_attr(pdo_dbh_t *dbh, zend_long attr, zval *val) in pdo_sqlite_set_attr() 503 pdo_dbh_t *dbh; in pdo_sqlite_create_function_internal() 561 pdo_dbh_t *dbh; in pdo_sqlite_create_aggregate_internal() 636 pdo_dbh_t *dbh; in pdo_sqlite_create_collation_internal() [all …]
|
H A D | php_pdo_sqlite_int.h | 66 extern int _pdo_sqlite_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, const char *file, int line);
|
H A D | pdo_sqlite.c | 77 pdo_dbh_t *dbh; in PHP_METHOD() 296 pdo_dbh_t *dbh; in PHP_METHOD()
|
/php-src/ext/pdo_pgsql/ |
H A D | pgsql_driver.c | 108 pdo_dbh_t * dbh = (pdo_dbh_t *)context; in _pdo_pgsql_notice() 648 pdo_dbh_t *dbh; in pgsqlCopyFromArray_internal() 770 pdo_dbh_t *dbh; in pgsqlCopyFromFile_internal() 872 pdo_dbh_t *dbh; in pgsqlCopyToFile_internal() 972 pdo_dbh_t *dbh; in pgsqlCopyToArray_internal() 1052 pdo_dbh_t *dbh; in pgsqlLOBCreate_internal() 1085 pdo_dbh_t *dbh; in pgsqlLOBOpen_internal() 1141 pdo_dbh_t *dbh; in pgsqlLOBUnlink_internal() 1181 pdo_dbh_t *dbh; in pgsqlGetNotify_internal() 1266 pdo_dbh_t *dbh; in pgsqlGetPid_internal() [all …]
|
H A D | php_pdo_pgsql_int.h | 87 extern int _pdo_pgsql_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, int errcode, const char *sqlstate, co… 124 void pdo_pgsql_close_lob_streams(pdo_dbh_t *dbh);
|
H A D | pdo_pgsql.c | 65 pdo_dbh_t *dbh; in PHP_METHOD() 157 pdo_dbh_t *dbh = Z_PDO_DBH_P(ZEND_THIS); in PHP_METHOD()
|
/php-src/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-src/ext/pdo_firebird/ |
H A D | firebird_driver.c | 37 static bool php_firebird_rollback_transaction(pdo_dbh_t *dbh); 584 static void firebird_handle_closer(pdo_dbh_t *dbh) /* {{{ */ in firebird_handle_closer() 621 static bool firebird_handle_preparer(pdo_dbh_t *dbh, zend_string *sql, /* {{{ */ in firebird_handle_preparer() 886 static bool firebird_handle_manually_begin(pdo_dbh_t *dbh) /* {{{ */ in firebird_handle_manually_begin() 908 bool php_firebird_commit_transaction(pdo_dbh_t *dbh, bool retain) /* {{{ */ in php_firebird_commit_transaction() 936 static bool firebird_handle_manually_commit(pdo_dbh_t *dbh) /* {{{ */ in firebird_handle_manually_commit() 958 static bool php_firebird_rollback_transaction(pdo_dbh_t *dbh) /* {{{ */ in php_firebird_rollback_transaction() 971 static bool firebird_handle_manually_rollback(pdo_dbh_t *dbh) /* {{{ */ in firebird_handle_manually_rollback() 994 static int php_firebird_alloc_prepare_stmt(pdo_dbh_t *dbh, const zend_string *sql, in php_firebird_alloc_prepare_stmt() 1266 static zend_result pdo_firebird_check_liveness(pdo_dbh_t *dbh) /* {{{ */ in pdo_firebird_check_liveness() [all …]
|
H A D | php_pdo_firebird_int.h | 128 extern void php_firebird_set_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, const char *state, const size_… 135 extern bool php_firebird_commit_transaction(pdo_dbh_t *dbh, bool retain);
|
/php-src/ext/pdo_odbc/ |
H A D | odbc_driver.c | 32 static void pdo_odbc_fetch_error_func(pdo_dbh_t *dbh, pdo_stmt_t *stmt, zval *info) in pdo_odbc_fetch_error_func() 123 static void odbc_handle_closer(pdo_dbh_t *dbh) in odbc_handle_closer() 217 static zend_long odbc_handle_doer(pdo_dbh_t *dbh, const zend_string *sql) in odbc_handle_doer() 267 static bool odbc_handle_begin(pdo_dbh_t *dbh) in odbc_handle_begin() 283 static bool odbc_handle_commit(pdo_dbh_t *dbh) in odbc_handle_commit() 309 static bool odbc_handle_rollback(pdo_dbh_t *dbh) in odbc_handle_rollback() 335 static bool odbc_handle_set_attr(pdo_dbh_t *dbh, zend_long attr, zval *val) in odbc_handle_set_attr() 379 static int pdo_odbc_get_info_string(pdo_dbh_t *dbh, SQLUSMALLINT type, zval *val) in pdo_odbc_get_info_string() 394 static int odbc_handle_get_attr(pdo_dbh_t *dbh, zend_long attr, zval *val) in odbc_handle_get_attr() 420 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 | 165 void pdo_odbc_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, PDO_ODBC_HSTMT statement, char *what, const c…
|
/php-src/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() 364 static bool mysql_handle_begin(pdo_dbh_t *dbh) in mysql_handle_begin() 380 static bool mysql_handle_commit(pdo_dbh_t *dbh) in mysql_handle_commit() 393 static bool mysql_handle_rollback(pdo_dbh_t *dbh) in mysql_handle_rollback() 406 static inline int mysql_handle_autocommit(pdo_dbh_t *dbh) in mysql_handle_autocommit() 603 static zend_result pdo_mysql_check_liveness(pdo_dbh_t *dbh) 618 static void pdo_mysql_request_shutdown(pdo_dbh_t *dbh) 639 static bool pdo_mysql_in_transaction(pdo_dbh_t *dbh) [all …]
|
H A D | pdo_mysql.c | 67 pdo_dbh_t * dbh = Z_PDO_DBH_P(zv); in ZEND_GET_MODULE() 90 pdo_dbh_t *dbh; in PHP_METHOD()
|
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);
|