Home
last modified time | relevance | path

Searched refs:dbh (Results 51 – 65 of 65) sorted by relevance

123

/PHP-5.5/ext/pgsql/tests/
H A D80_bug14383.phpt12 $dbh = @pg_connect($conn_str);
13 if (!$dbh) {
16 pg_close($dbh);
/PHP-5.5/ext/pdo/
H A Dpdo_sql_parser.re158 pdo_raise_impl_error(stmt->dbh, stmt, "HY093", "no parameters were bound" TSRMLS_CC);
198 pdo_raise_impl_error(stmt->dbh, stmt, "HY093", "parameter was not defined" TSRMLS_CC);
201 if (stmt->dbh->methods->quoter) {
211 if (!stmt->dbh->methods->quoter(stmt->dbh, buf, len, &plc->quoted, &plc->qlen,
215 strncpy(stmt->error_code, stmt->dbh->error_code, 6);
253 if (!stmt->dbh->methods->quoter(stmt->dbh, Z_STRVAL(tmp_param),
258 strncpy(stmt->error_code, stmt->dbh->error_code, 6);
404 if(stmt->dbh->max_escaped_char_length) {
405 padding = stmt->dbh->max_escaped_char_length;
453 if(stmt->dbh->methods->quoter(stmt->dbh, Z_STRVAL_P(param->parameter),
[all …]
H A Dphp_pdo.h78 if (!dbh->driver) { \
79 pdo_raise_impl_error(dbh, NULL, "00000", "PDO constructor was not called" TSRMLS_CC); \
H A DTODO48 settable at dbh and stmt levels independently. If set at the dbh level,
50 defaults for the dbh will come from the INI settings.
/PHP-5.5/ext/pdo_sqlite/
H A Dphp_pdo_sqlite_int.h73 extern int _pdo_sqlite_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, const char *file, int line TSRMLS_DC…
75 #define pdo_sqlite_error_stmt(s) _pdo_sqlite_error(stmt->dbh, stmt, __FILE__, __LINE__ TSRMLS_CC)
H A Dsqlite_statement.c138 pdo_raise_impl_error(stmt->dbh, stmt, "HY105", "Expected a stream resource" TSRMLS_CC); in pdo_sqlite_stmt_param_hook()
/PHP-5.5/ext/pdo_oci/tests/
H A Dpdo_oci_attr_client.phpt14 $dbh = PDOTest::factory();
17 $cv = $dbh->getAttribute(PDO::ATTR_CLIENT_VERSION);
H A Dpecl_bug_11345.phpt17 $dbh = new PDO('oci:dbname=xxx;charset=yyy', 'abc', 'def');
/PHP-5.5/ext/pdo_mysql/
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 TSRMLS_DC);
152 #define pdo_mysql_error_stmt(s) _pdo_mysql_error(stmt->dbh, stmt, __FILE__, __LINE__ TSRMLS_CC)
H A Dmysql_statement.c59 pefree(S->einfo.errmsg, stmt->dbh->is_persistent); in pdo_mysql_stmt_dtor()
520 pdo_raise_impl_error(stmt->dbh, stmt, "HY105", "Expected a stream resource" TSRMLS_CC); in pdo_mysql_stmt_param_hook()
/PHP-5.5/ext/pdo_firebird/
H A Dphp_pdo_firebird_int.h131 void _firebird_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, char const *file, long line TSRMLS_DC);
H A Dfirebird_statement.c137 if (stmt->dbh->auto_commit && isc_commit_retaining(H->isc_status, &H->tr)) { in firebird_stmt_execute()
/PHP-5.5/ext/pdo_dblib/
H A Ddblib_stmt.c133 …pdo_raise_impl_error(stmt->dbh, stmt, "HY000", "PDO_DBLIB: dbresults() returned FAIL" TSRMLS_CC); in pdo_dblib_stmt_next_rowset()
185 pdo_raise_impl_error(stmt->dbh, stmt, "HY000", "PDO_DBLIB: dbnextrow() returned FAIL" TSRMLS_CC); in pdo_dblib_stmt_fetch()
/PHP-5.5/ext/pdo_oci/
H A Doci_statement.c39 …S->last_err = _oci_error(S->err, stmt->dbh, stmt, #name, S->last_err, FALSE, __FILE__, __LINE__ TS…
48 …S->last_err = _oci_error(S->err, stmt->dbh, stmt, #name ": " #msg, S->last_err, FALSE, __FILE__, _…
92 pefree(S->einfo.errmsg, stmt->dbh->is_persistent); in oci_stmt_dtor()
140 if (stmt->dbh->auto_commit && !stmt->dbh->in_txn) { in oci_stmt_execute()
/PHP-5.5/ext/pdo_pgsql/
H A Dpgsql_statement.c264 pdo_raise_impl_error(stmt->dbh, stmt, "HY093", param->name TSRMLS_CC); in pgsql_stmt_param_hook()
298 pdo_raise_impl_error(stmt->dbh, stmt, "HY093", "parameter was not defined" TSRMLS_CC); in pgsql_stmt_param_hook()
532 *ptr = (char*)pdo_pgsql_create_lob_stream(stmt->dbh, loid, oid TSRMLS_CC); in pgsql_stmt_get_col()

Completed in 31 milliseconds

123