diff options
author | Hartmut Holzgraefe <hholzgra@php.net> | 2005-02-27 11:46:38 +0000 |
---|---|---|
committer | Hartmut Holzgraefe <hholzgra@php.net> | 2005-02-27 11:46:38 +0000 |
commit | beb7151936c89ae94c8e129914b1bfde9359dd7e (patch) | |
tree | 1cb6783eb499e9e93a21476aa9cbac6c233ec778 | |
parent | 8725ed75cdc1a1df3f25219c4d21302c1340dd5d (diff) | |
download | php-git-beb7151936c89ae94c8e129914b1bfde9359dd7e.tar.gz |
cols
-rwxr-xr-x | ext/pdo_mysql/mysql_statement.c | 5 | ||||
-rwxr-xr-x | ext/pdo_mysql/php_pdo_mysql_int.h | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/ext/pdo_mysql/mysql_statement.c b/ext/pdo_mysql/mysql_statement.c index 5ba2f9cd5d..ad0441beb5 100755 --- a/ext/pdo_mysql/mysql_statement.c +++ b/ext/pdo_mysql/mysql_statement.c @@ -40,10 +40,6 @@ static int pdo_mysql_stmt_dtor(pdo_stmt_t *stmt TSRMLS_DC) mysql_free_result(S->result); S->result = NULL; } - if (S->cols) { - efree(S->cols); - S->cols = NULL; - } efree(S); return 1; } @@ -74,7 +70,6 @@ static int pdo_mysql_stmt_execute(pdo_stmt_t *stmt TSRMLS_DC) } if (!stmt->executed) { stmt->column_count = (int) mysql_num_fields(S->result); - S->cols = ecalloc(stmt->column_count, sizeof(pdo_mysql_column)); } return 1; } diff --git a/ext/pdo_mysql/php_pdo_mysql_int.h b/ext/pdo_mysql/php_pdo_mysql_int.h index 8498bb0f89..eacaa66f63 100755 --- a/ext/pdo_mysql/php_pdo_mysql_int.h +++ b/ext/pdo_mysql/php_pdo_mysql_int.h @@ -49,7 +49,6 @@ typedef struct { MYSQL_RES *result; MYSQL_ROW current_data; long *current_lengths; - pdo_mysql_column *cols; } pdo_mysql_stmt; typedef struct { |