diff options
author | Dmitry Stogov <dmitry@zend.com> | 2017-12-14 22:59:58 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2017-12-14 22:59:58 +0300 |
commit | 0d484172fe7b35beae14ae777c2bda9cf120b55c (patch) | |
tree | d638a858f83a371043cbb2d188b70370d9811670 /ext/pdo_mysql/php_pdo_mysql_int.h | |
parent | 0f06df310c879e3506409277831c4cba7d4d9af7 (diff) | |
download | php-git-0d484172fe7b35beae14ae777c2bda9cf120b55c.tar.gz |
Turn "pdo_stmt_methods" into constants.
Diffstat (limited to 'ext/pdo_mysql/php_pdo_mysql_int.h')
-rw-r--r-- | ext/pdo_mysql/php_pdo_mysql_int.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo_mysql/php_pdo_mysql_int.h b/ext/pdo_mysql/php_pdo_mysql_int.h index 6e7d840d7a..9e0fab3ad8 100644 --- a/ext/pdo_mysql/php_pdo_mysql_int.h +++ b/ext/pdo_mysql/php_pdo_mysql_int.h @@ -155,7 +155,7 @@ extern int _pdo_mysql_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, const char *file, #define pdo_mysql_error(s) _pdo_mysql_error(s, NULL, __FILE__, __LINE__) #define pdo_mysql_error_stmt(s) _pdo_mysql_error(stmt->dbh, stmt, __FILE__, __LINE__) -extern struct pdo_stmt_methods mysql_stmt_methods; +extern const struct pdo_stmt_methods mysql_stmt_methods; enum { PDO_MYSQL_ATTR_USE_BUFFERED_QUERY = PDO_ATTR_DRIVER_SPECIFIC, |