1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

Fix for bug #2247: "mysql_stmt_affected_rows returns affected rows from

last command"
This commit is contained in:
konstantin@oak.local
2004-02-06 16:03:09 +03:00
parent c4728c276a
commit 69d00bdb88
3 changed files with 85 additions and 1 deletions

View File

@ -537,6 +537,8 @@ typedef struct st_mysql_stmt
char *query; /* query buffer */
MEM_ROOT mem_root; /* root allocations */
my_ulonglong last_fetched_column; /* last fetched column */
my_ulonglong affected_rows; /* copy of mysql->affected_rows
after statement execution */
unsigned long stmt_id; /* Id for prepared statement */
unsigned int last_errno; /* error code */
unsigned int param_count; /* parameters count */