mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
PDO: Store/pass query_string as zend_string
Rather than storing char* + size_t, use a zend_string*. Also avoid various copies of the query string.
This commit is contained in:
parent
c288b5294b
commit
2d51c203f0
15 changed files with 81 additions and 102 deletions
|
@ -60,7 +60,7 @@ typedef struct {
|
|||
pdo_pgsql_column *cols;
|
||||
char *cursor_name;
|
||||
char *stmt_name;
|
||||
char *query;
|
||||
zend_string *query;
|
||||
char **param_values;
|
||||
int *param_lengths;
|
||||
int *param_formats;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue