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 /ext/pdo_mysql/mysql_statement.c | |
parent | 8725ed75cdc1a1df3f25219c4d21302c1340dd5d (diff) | |
download | php-git-beb7151936c89ae94c8e129914b1bfde9359dd7e.tar.gz |
cols
Diffstat (limited to 'ext/pdo_mysql/mysql_statement.c')
-rwxr-xr-x | ext/pdo_mysql/mysql_statement.c | 5 |
1 files changed, 0 insertions, 5 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; } |