summaryrefslogtreecommitdiff
path: root/ext/pdo/php_pdo_driver.h
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2017-12-14 22:59:58 +0300
committerDmitry Stogov <dmitry@zend.com>2017-12-14 22:59:58 +0300
commit0d484172fe7b35beae14ae777c2bda9cf120b55c (patch)
treed638a858f83a371043cbb2d188b70370d9811670 /ext/pdo/php_pdo_driver.h
parent0f06df310c879e3506409277831c4cba7d4d9af7 (diff)
downloadphp-git-0d484172fe7b35beae14ae777c2bda9cf120b55c.tar.gz
Turn "pdo_stmt_methods" into constants.
Diffstat (limited to 'ext/pdo/php_pdo_driver.h')
-rw-r--r--ext/pdo/php_pdo_driver.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo/php_pdo_driver.h b/ext/pdo/php_pdo_driver.h
index 578f3a3ac1..52c64cda1c 100644
--- a/ext/pdo/php_pdo_driver.h
+++ b/ext/pdo/php_pdo_driver.h
@@ -563,7 +563,7 @@ struct pdo_bound_param_data {
/* represents a prepared statement */
struct _pdo_stmt_t {
/* driver specifics */
- struct pdo_stmt_methods *methods;
+ const struct pdo_stmt_methods *methods;
void *driver_data;
/* if true, we've already successfully executed this statement at least