Searched refs:dbh (Results 51 – 65 of 65) sorted by relevance
123
/PHP-5.5/ext/pgsql/tests/ |
H A D | 80_bug14383.phpt | 12 $dbh = @pg_connect($conn_str); 13 if (!$dbh) { 16 pg_close($dbh);
|
/PHP-5.5/ext/pdo/ |
H A D | pdo_sql_parser.re | 158 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 D | php_pdo.h | 78 if (!dbh->driver) { \ 79 pdo_raise_impl_error(dbh, NULL, "00000", "PDO constructor was not called" TSRMLS_CC); \
|
H A D | TODO | 48 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 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… 75 #define pdo_sqlite_error_stmt(s) _pdo_sqlite_error(stmt->dbh, stmt, __FILE__, __LINE__ TSRMLS_CC)
|
H A D | sqlite_statement.c | 138 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 D | pdo_oci_attr_client.phpt | 14 $dbh = PDOTest::factory(); 17 $cv = $dbh->getAttribute(PDO::ATTR_CLIENT_VERSION);
|
H A D | pecl_bug_11345.phpt | 17 $dbh = new PDO('oci:dbname=xxx;charset=yyy', 'abc', 'def');
|
/PHP-5.5/ext/pdo_mysql/ |
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); 152 #define pdo_mysql_error_stmt(s) _pdo_mysql_error(stmt->dbh, stmt, __FILE__, __LINE__ TSRMLS_CC)
|
H A D | mysql_statement.c | 59 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 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);
|
H A D | firebird_statement.c | 137 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 D | dblib_stmt.c | 133 …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 D | oci_statement.c | 39 …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 D | pgsql_statement.c | 264 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