mirror of
https://github.com/php/php-src.git
synced 2025-08-16 22:18:50 +02:00
Implemented PDO Driver specific SQL parsers
RFC: http://wiki.php.net/rfc/pdo_driver_specific_parsers
This commit is contained in:
parent
ac947925c0
commit
715b9aaa09
31 changed files with 391 additions and 44 deletions
|
@ -74,6 +74,8 @@ typedef struct {
|
|||
|
||||
extern const pdo_driver_t pdo_pgsql_driver;
|
||||
|
||||
extern int pdo_pgsql_scanner(pdo_scanner_t *s);
|
||||
|
||||
extern int _pdo_pgsql_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, int errcode, const char *sqlstate, const char *msg, const char *file, int line);
|
||||
#define pdo_pgsql_error(d,e,z) _pdo_pgsql_error(d, NULL, e, z, NULL, __FILE__, __LINE__)
|
||||
#define pdo_pgsql_error_msg(d,e,m) _pdo_pgsql_error(d, NULL, e, NULL, m, __FILE__, __LINE__)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue