Turn "pdo_stmt_methods" into constants.

This commit is contained in:
Dmitry Stogov 2017-12-14 22:59:58 +03:00
parent 0f06df310c
commit 0d484172fe
15 changed files with 15 additions and 15 deletions

View file

@ -165,7 +165,7 @@ typedef struct {
} pdo_odbc_param;
extern const pdo_driver_t pdo_odbc_driver;
extern struct pdo_stmt_methods odbc_stmt_methods;
extern const struct pdo_stmt_methods odbc_stmt_methods;
void pdo_odbc_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, PDO_ODBC_HSTMT statement, char *what, const char *file, int line);
#define pdo_odbc_drv_error(what) pdo_odbc_error(dbh, NULL, SQL_NULL_HSTMT, what, __FILE__, __LINE__)