mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Turn "pdo_stmt_methods" into constants.
This commit is contained in:
parent
0f06df310c
commit
0d484172fe
15 changed files with 15 additions and 15 deletions
|
@ -85,7 +85,7 @@ extern int _pdo_pgsql_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, int errcode, const
|
|||
#define pdo_pgsql_error_stmt(s,e,z) _pdo_pgsql_error(s->dbh, s, e, z, NULL, __FILE__, __LINE__)
|
||||
#define pdo_pgsql_error_stmt_msg(s,e,m) _pdo_pgsql_error(s->dbh, s, e, NULL, m, __FILE__, __LINE__)
|
||||
|
||||
extern struct pdo_stmt_methods pgsql_stmt_methods;
|
||||
extern const struct pdo_stmt_methods pgsql_stmt_methods;
|
||||
|
||||
#define pdo_pgsql_sqlstate(r) PQresultErrorField(r, PG_DIAG_SQLSTATE)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue