use fetch_fields only once and remember the result

This commit is contained in:
Hartmut Holzgraefe 2005-02-27 12:43:23 +00:00
parent 0ec872a153
commit dd7d41e938
2 changed files with 21 additions and 21 deletions

View file

@ -47,6 +47,7 @@ typedef struct {
typedef struct {
pdo_mysql_db_handle *H;
MYSQL_RES *result;
MYSQL_FIELD *fields;
MYSQL_ROW current_data;
long *current_lengths;
} pdo_mysql_stmt;