/PHP-5.6/ext/pdo/ |
H A D | php_pdo_driver.h | 27 typedef struct _pdo_dbh_t pdo_dbh_t; typedef 245 int (*db_handle_factory)(pdo_dbh_t *dbh, zval *driver_options TSRMLS_DC); 252 typedef int (*pdo_dbh_close_func)(pdo_dbh_t *dbh TSRMLS_DC); 264 typedef int (*pdo_dbh_txn_func)(pdo_dbh_t *dbh TSRMLS_DC); 267 typedef int (*pdo_dbh_set_attr_func)(pdo_dbh_t *dbh, long attr, zval *val TSRMLS_DC); 287 typedef int (*pdo_dbh_check_liveness_func)(pdo_dbh_t *dbh TSRMLS_DC); 292 typedef void (*pdo_dbh_request_shutdown)(pdo_dbh_t *dbh TSRMLS_DC); 584 pdo_dbh_t *dbh; 665 PDO_API void pdo_raise_impl_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, 668 PDO_API void php_pdo_dbh_addref(pdo_dbh_t *dbh TSRMLS_DC); [all …]
|
H A D | pdo_dbh.c | 204 pdo_dbh_t *dbh = NULL; in PHP_METHOD() 281 pdo_dbh_t *pdbh = NULL; in PHP_METHOD() 310 pdbh = (pdo_dbh_t*)le->ptr; in PHP_METHOD() 1286 int pdo_hash_methods(pdo_dbh_t *dbh, int kind TSRMLS_DC) in pdo_hash_methods() 1357 pdo_dbh_t *dbh = zend_object_store_get_object(object TSRMLS_CC); in dbh_method_get() 1502 static void dbh_free(pdo_dbh_t *dbh TSRMLS_DC) in dbh_free() 1546 PDO_API void php_pdo_dbh_addref(pdo_dbh_t *dbh TSRMLS_DC) in php_pdo_dbh_addref() 1551 PDO_API void php_pdo_dbh_delref(pdo_dbh_t *dbh TSRMLS_DC) in php_pdo_dbh_delref() 1556 static void pdo_dbh_free_storage(pdo_dbh_t *dbh TSRMLS_DC) in pdo_dbh_free_storage() 1575 pdo_dbh_t *dbh; in pdo_dbh_new() [all …]
|
H A D | php_pdo_error.h | 26 PDO_API void pdo_handle_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt TSRMLS_DC);
|
H A D | php_pdo_int.h | 63 int pdo_hash_methods(pdo_dbh_t *dbh, int kind TSRMLS_DC);
|
/PHP-5.6/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 TSRMLS_DC) in dblib_fetch_error() 75 static int dblib_handle_closer(pdo_dbh_t *dbh TSRMLS_DC) in dblib_handle_closer() 94 static int dblib_handle_preparer(pdo_dbh_t *dbh, const char *sql, long sql_len, pdo_stmt_t *stmt, z… in dblib_handle_preparer() 108 static long dblib_handle_doer(pdo_dbh_t *dbh, const char *sql, long sql_len TSRMLS_DC) in dblib_handle_doer() 144 static int dblib_handle_quoter(pdo_dbh_t *dbh, const char *unquoted, int unquotedlen, char **quoted… in dblib_handle_quoter() 172 static int pdo_dblib_transaction_cmd(const char *cmd, pdo_dbh_t *dbh TSRMLS_DC) in pdo_dblib_transaction_cmd() 188 static int dblib_handle_begin(pdo_dbh_t *dbh TSRMLS_DC) in dblib_handle_begin() 193 static int dblib_handle_commit(pdo_dbh_t *dbh TSRMLS_DC) in dblib_handle_commit() 198 static int dblib_handle_rollback(pdo_dbh_t *dbh TSRMLS_DC) in dblib_handle_rollback() 203 char *dblib_handle_last_id(pdo_dbh_t *dbh, const char *name, unsigned int *len TSRMLS_DC) in dblib_handle_last_id() [all …]
|
/PHP-5.6/ext/pdo_pgsql/ |
H A D | pgsql_driver.c | 154 pdo_dbh_t *dbh = self->dbh; in pgsql_lob_close() 535 static int pgsql_handle_begin(pdo_dbh_t *dbh TSRMLS_DC) in pgsql_handle_begin() 562 pdo_dbh_t *dbh; in PHP_METHOD() 676 pdo_dbh_t *dbh; in PHP_METHOD() 775 pdo_dbh_t *dbh; in PHP_METHOD() 870 pdo_dbh_t *dbh; in PHP_METHOD() 947 pdo_dbh_t *dbh; in PHP_METHOD() 974 pdo_dbh_t *dbh; in PHP_METHOD() 1026 pdo_dbh_t *dbh; in PHP_METHOD() 1062 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… 98 pdo_dbh_t *dbh; 112 php_stream *pdo_pgsql_create_lob_stream(pdo_dbh_t *stmt, int lfd, Oid oid TSRMLS_DC);
|
/PHP-5.6/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 TSRMLS_DC) 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 TSRMLS_DC) in odbc_handle_closer() 145 static int odbc_handle_preparer(pdo_dbh_t *dbh, const char *sql, long sql_len, pdo_stmt_t *stmt, zv… in odbc_handle_preparer() 223 static long odbc_handle_doer(pdo_dbh_t *dbh, const char *sql, long sql_len TSRMLS_DC) in odbc_handle_doer() 271 static int odbc_handle_begin(pdo_dbh_t *dbh TSRMLS_DC) in odbc_handle_begin() 287 static int odbc_handle_commit(pdo_dbh_t *dbh TSRMLS_DC) in odbc_handle_commit() 313 static int odbc_handle_rollback(pdo_dbh_t *dbh TSRMLS_DC) in odbc_handle_rollback() 339 static int odbc_handle_set_attr(pdo_dbh_t *dbh, long attr, zval *val TSRMLS_DC) in odbc_handle_set_attr() 354 static int odbc_handle_get_attr(pdo_dbh_t *dbh, long attr, zval *val TSRMLS_DC) 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-5.6/ext/pdo_firebird/ |
H A D | firebird_driver.c | 36 static int firebird_alloc_prepare_stmt(pdo_dbh_t*, const char*, long, XSQLDA*, isc_stmt_handle*, 40 void _firebird_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, char const *file, long line TSRMLS_DC) /* {{… in _firebird_error() 98 static int firebird_handle_closer(pdo_dbh_t *dbh TSRMLS_DC) /* {{{ */ in firebird_handle_closer() 135 static int firebird_handle_preparer(pdo_dbh_t *dbh, const char *sql, long sql_len, /* {{{ */ in firebird_handle_preparer() 221 static long firebird_handle_doer(pdo_dbh_t *dbh, const char *sql, long sql_len TSRMLS_DC) /* {{{ */ in firebird_handle_doer() 275 static int firebird_handle_quoter(pdo_dbh_t *dbh, const char *unquoted, int unquotedlen, /* {{{ */ in firebird_handle_quoter() 315 static int firebird_handle_begin(pdo_dbh_t *dbh TSRMLS_DC) /* {{{ */ in firebird_handle_begin() 368 static int firebird_handle_commit(pdo_dbh_t *dbh TSRMLS_DC) /* {{{ */ in firebird_handle_commit() 381 static int firebird_handle_rollback(pdo_dbh_t *dbh TSRMLS_DC) /* {{{ */ in firebird_handle_rollback() 394 static int firebird_alloc_prepare_stmt(pdo_dbh_t *dbh, const char *sql, long sql_len, /* {{{ */ in firebird_alloc_prepare_stmt() [all …]
|
H A D | php_pdo_firebird_int.h | 131 void _firebird_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, char const *file, long line TSRMLS_DC);
|
/PHP-5.6/ext/pdo_sqlite/ |
H A D | sqlite_driver.c | 155 static int sqlite_handle_closer(pdo_dbh_t *dbh TSRMLS_DC) /* {{{ */ in sqlite_handle_closer() 206 static long sqlite_handle_doer(pdo_dbh_t *dbh, const char *sql, long sql_len TSRMLS_DC) in sqlite_handle_doer() 241 static int sqlite_handle_begin(pdo_dbh_t *dbh TSRMLS_DC) in sqlite_handle_begin() 255 static int sqlite_handle_commit(pdo_dbh_t *dbh TSRMLS_DC) in sqlite_handle_commit() 269 static int sqlite_handle_rollback(pdo_dbh_t *dbh TSRMLS_DC) in sqlite_handle_rollback() 298 static int pdo_sqlite_set_attr(pdo_dbh_t *dbh, long attr, zval *val TSRMLS_DC) in pdo_sqlite_set_attr() 542 pdo_dbh_t *dbh; in PHP_METHOD() 613 pdo_dbh_t *dbh; in PHP_METHOD() 675 pdo_dbh_t *dbh; in PHP_METHOD() 723 static const zend_function_entry *get_driver_methods(pdo_dbh_t *dbh, int kind TSRMLS_DC) 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 TSRMLS_DC…
|
/PHP-5.6/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 TSRMLS_DC) in _pdo_mysql_error() 117 static int pdo_mysql_fetch_error_func(pdo_dbh_t *dbh, pdo_stmt_t *stmt, zval *info TSRMLS_DC) in pdo_mysql_fetch_error_func() 141 static int mysql_handle_closer(pdo_dbh_t *dbh TSRMLS_DC) in mysql_handle_closer() 256 static long mysql_handle_doer(pdo_dbh_t *dbh, const char *sql, long sql_len TSRMLS_DC) in mysql_handle_doer() 318 static int mysql_handle_begin(pdo_dbh_t *dbh TSRMLS_DC) in mysql_handle_begin() 327 static int mysql_handle_commit(pdo_dbh_t *dbh TSRMLS_DC) in mysql_handle_commit() 340 static int mysql_handle_rollback(pdo_dbh_t *dbh TSRMLS_DC) in mysql_handle_rollback() 353 static inline int mysql_handle_autocommit(pdo_dbh_t *dbh TSRMLS_DC) in mysql_handle_autocommit() 371 static int pdo_mysql_set_attribute(pdo_dbh_t *dbh, long attr, zval *val TSRMLS_DC) in pdo_mysql_set_attribute() 481 static int pdo_mysql_check_liveness(pdo_dbh_t *dbh TSRMLS_DC) [all …]
|
H A D | pdo_mysql.c | 65 pdo_dbh_t * dbh = zend_object_store_get_object(zv TSRMLS_CC); in ZEND_DECLARE_MODULE_GLOBALS()
|
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 TSRMLS_DC);
|
/PHP-5.6/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 TSRMLS_DC) /* {{{ … in pdo_oci_fetch_error_func() 198 static int oci_handle_closer(pdo_dbh_t *dbh TSRMLS_DC) /* {{{ */ in oci_handle_closer() 251 static int oci_handle_preparer(pdo_dbh_t *dbh, const char *sql, long sql_len, pdo_stmt_t *stmt, zva… in oci_handle_preparer() 327 static long oci_handle_doer(pdo_dbh_t *dbh, const char *sql, long sql_len TSRMLS_DC) /* {{{ */ in oci_handle_doer() 408 static int oci_handle_begin(pdo_dbh_t *dbh TSRMLS_DC) /* {{{ */ in oci_handle_begin() 415 static int oci_handle_commit(pdo_dbh_t *dbh TSRMLS_DC) /* {{{ */ in oci_handle_commit() 429 static int oci_handle_rollback(pdo_dbh_t *dbh TSRMLS_DC) /* {{{ */ in oci_handle_rollback() 443 static int oci_handle_set_attribute(pdo_dbh_t *dbh, long attr, zval *val TSRMLS_DC) /* {{{ */ in oci_handle_set_attribute() 470 static int oci_handle_get_attribute(pdo_dbh_t *dbh, long attr, zval *return_value TSRMLS_DC) /* {{… in oci_handle_get_attribute() 536 static int pdo_oci_check_liveness(pdo_dbh_t *dbh TSRMLS_DC) /* {{{ */ 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…
|