mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +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
|
@ -61,6 +61,8 @@ typedef struct {
|
|||
|
||||
extern const pdo_driver_t pdo_sqlite_driver;
|
||||
|
||||
extern int pdo_sqlite_scanner(pdo_scanner_t *s);
|
||||
|
||||
extern int _pdo_sqlite_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, const char *file, int line);
|
||||
#define pdo_sqlite_error(s) _pdo_sqlite_error(s, NULL, __FILE__, __LINE__)
|
||||
#define pdo_sqlite_error_stmt(s) _pdo_sqlite_error(stmt->dbh, stmt, __FILE__, __LINE__)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue