diff options
| author | twosee <twose@qq.com> | 2020-06-07 17:01:19 +0800 |
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-06-08 10:38:45 +0200 |
| commit | 88355dd338835f7a59415ecb2e7e970658f3867f (patch) | |
| tree | f203c58d7656c341273565e2d6fb84d89837bad2 /ext/pdo/php_pdo_driver.h | |
| parent | f6db43fec8da3d3c0c7def077e9f493ce6129c45 (diff) | |
| download | php-git-88355dd338835f7a59415ecb2e7e970658f3867f.tar.gz | |
Constify char * arguments of APIs
Closes GH-5676.
Diffstat (limited to 'ext/pdo/php_pdo_driver.h')
| -rw-r--r-- | ext/pdo/php_pdo_driver.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo/php_pdo_driver.h b/ext/pdo/php_pdo_driver.h index 7f4861db20..2fd3b00e99 100644 --- a/ext/pdo/php_pdo_driver.h +++ b/ext/pdo/php_pdo_driver.h @@ -677,7 +677,7 @@ PDO_API int php_pdo_parse_data_source(const char *data_source, PDO_API zend_class_entry *php_pdo_get_dbh_ce(void); PDO_API zend_class_entry *php_pdo_get_exception(void); -PDO_API int pdo_parse_params(pdo_stmt_t *stmt, char *inquery, size_t inquery_len, +PDO_API int pdo_parse_params(pdo_stmt_t *stmt, const char *inquery, size_t inquery_len, char **outquery, size_t *outquery_len); PDO_API void pdo_raise_impl_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, |
