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

@ -923,7 +923,7 @@ static int pdo_mysql_stmt_cursor_closer(pdo_stmt_t *stmt) /* {{{ */
}
/* }}} */
struct pdo_stmt_methods mysql_stmt_methods = {
const struct pdo_stmt_methods mysql_stmt_methods = {
pdo_mysql_stmt_dtor,
pdo_mysql_stmt_execute,
pdo_mysql_stmt_fetch,