Home
last modified time | relevance | path

Searched refs:pdo_dbh_t (Results 1 – 17 of 17) sorted by relevance

/php-src/ext/pdo/
H A Dphp_pdo_driver.h23 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;
679 PDO_API void pdo_raise_impl_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt,
682 PDO_API void php_pdo_dbh_addref(pdo_dbh_t *dbh);
[all …]
H A Dpdo_dbh.c280 pdo_dbh_t *dbh = NULL; in internal_construct()
362 pdo_dbh_t *pdbh = NULL; in internal_construct()
386 pdbh = (pdo_dbh_t*)le->ptr; in internal_construct()
555 pdo_dbh_t *dbh = dbh_obj->inner; in PHP_METHOD()
654 pdo_dbh_t *dbh = Z_PDO_DBH_P(ZEND_THIS); in PHP_METHOD()
684 pdo_dbh_t *dbh = Z_PDO_DBH_P(ZEND_THIS); in PHP_METHOD()
708 pdo_dbh_t *dbh = Z_PDO_DBH_P(ZEND_THIS); in PHP_METHOD()
732 pdo_dbh_t *dbh = Z_PDO_DBH_P(ZEND_THIS); in PHP_METHOD()
1159 pdo_dbh_t *dbh = dbh_obj->inner; in PHP_METHOD()
1307 pdo_dbh_t *dbh = dbh_obj->inner; in pdo_hash_methods()
[all …]
H A Dphp_pdo_error.h22 PDO_API void pdo_handle_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt);
/php-src/ext/pdo_sqlite/
H A Dsqlite_driver.c149 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_set_attr(pdo_dbh_t *dbh, zend_long attr, zval *val) in pdo_sqlite_set_attr()
494 pdo_dbh_t *dbh; in pdo_sqlite_create_function_internal()
552 pdo_dbh_t *dbh; in pdo_sqlite_create_aggregate_internal()
627 pdo_dbh_t *dbh; in pdo_sqlite_create_collation_internal()
684 static void pdo_sqlite_request_shutdown(pdo_dbh_t *dbh) in pdo_sqlite_request_shutdown()
[all …]
H A Dphp_pdo_sqlite_int.h64 extern int _pdo_sqlite_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, const char *file, int line);
H A Dpdo_sqlite.c77 pdo_dbh_t *dbh; in PHP_METHOD()
296 pdo_dbh_t *dbh; in PHP_METHOD()
/php-src/ext/pdo_dblib/
H A Ddblib_driver.c34 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_pgsql/
H A Dpgsql_driver.c209 void pdo_pgsql_close_lob_streams(pdo_dbh_t *dbh) in pdo_pgsql_close_lob_streams()
560 static bool pgsql_handle_begin(pdo_dbh_t *dbh) in pgsql_handle_begin()
593 pdo_dbh_t *dbh; in pgsqlCopyFromArray_internal()
711 pdo_dbh_t *dbh; in pgsqlCopyFromFile_internal()
813 pdo_dbh_t *dbh; in pgsqlCopyToFile_internal()
913 pdo_dbh_t *dbh; in pgsqlCopyToArray_internal()
993 pdo_dbh_t *dbh; in pgsqlLOBCreate_internal()
1026 pdo_dbh_t *dbh; in pgsqlLOBOpen_internal()
1082 pdo_dbh_t *dbh; in pgsqlLOBUnlink_internal()
1122 pdo_dbh_t *dbh; in pgsqlGetNotify_internal()
[all …]
H A Dphp_pdo_pgsql_int.h76 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);
H A Dpdo_pgsql.c65 pdo_dbh_t *dbh; in PHP_METHOD()
/php-src/ext/pdo_firebird/
H A Dfirebird_driver.c36 static bool php_firebird_rollback_transaction(pdo_dbh_t *dbh);
526 static void firebird_handle_closer(pdo_dbh_t *dbh) /* {{{ */ in firebird_handle_closer()
563 static bool firebird_handle_preparer(pdo_dbh_t *dbh, zend_string *sql, /* {{{ */ in firebird_handle_preparer()
815 static bool firebird_handle_manually_begin(pdo_dbh_t *dbh) /* {{{ */ in firebird_handle_manually_begin()
837 bool php_firebird_commit_transaction(pdo_dbh_t *dbh, bool retain) /* {{{ */ in php_firebird_commit_transaction()
865 static bool firebird_handle_manually_commit(pdo_dbh_t *dbh) /* {{{ */ in firebird_handle_manually_commit()
887 static bool php_firebird_rollback_transaction(pdo_dbh_t *dbh) /* {{{ */ in php_firebird_rollback_transaction()
900 static bool firebird_handle_manually_rollback(pdo_dbh_t *dbh) /* {{{ */ in firebird_handle_manually_rollback()
923 static int php_firebird_alloc_prepare_stmt(pdo_dbh_t *dbh, const zend_string *sql, in php_firebird_alloc_prepare_stmt()
1221 static zend_result pdo_firebird_check_liveness(pdo_dbh_t *dbh) /* {{{ */ in pdo_firebird_check_liveness()
[all …]
H A Dphp_pdo_firebird_int.h132 extern void php_firebird_set_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, const char *state, const size_…
139 extern bool php_firebird_commit_transaction(pdo_dbh_t *dbh, bool retain);
/php-src/ext/pdo_odbc/
H A Dodbc_driver.c32 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 Dphp_pdo_odbc_int.h163 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 Dmysql_driver.c42 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()
592 static zend_result pdo_mysql_check_liveness(pdo_dbh_t *dbh)
607 static void pdo_mysql_request_shutdown(pdo_dbh_t *dbh)
628 static bool pdo_mysql_in_transaction(pdo_dbh_t *dbh)
[all …]
H A Dpdo_mysql.c67 pdo_dbh_t * dbh = Z_PDO_DBH_P(zv); in ZEND_GET_MODULE()
92 pdo_dbh_t *dbh; in PHP_METHOD()
H A Dphp_pdo_mysql_int.h150 extern int _pdo_mysql_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, const char *file, int line);

Completed in 56 milliseconds