summaryrefslogtreecommitdiff
path: root/sql-common/client.c
diff options
context:
space:
mode:
authorunknown <kostja@bodhi.(none)>2007-10-31 18:33:13 +0300
committerunknown <kostja@bodhi.(none)>2007-10-31 18:33:13 +0300
commit9ad4366b7b4b6812b653be65576d9b561ad3a41c (patch)
tree9e4c116001f7b8f6d21456125e302851b28a07c2 /sql-common/client.c
parent6c76397404e32bd45b46471ad19bb9e90518ef3f (diff)
downloadmariadb-git-9ad4366b7b4b6812b653be65576d9b561ad3a41c.tar.gz
Cleanup: rename select_send::status to select_send::is_result_set_started.
Add select_send::cleanup. Fix a compilation warning. Issues spotted while working on the fix for Bug#12713. sql-common/client.c: Fix a warning. sql/sql_class.cc: Give a variable a more specific name. Rewrite an incorrect comment. Add a cleanup for select_send. The only case now this cleanup can be necessary is when we have a prepared statement inside a stored procedure, and a continue handler. At first execution, the statement is killed after having executed select_send::send_fields. At the second execution it is killed after having executed select_send::send_fields. sql/sql_class.h: Rename a member. Add comments.
Diffstat (limited to 'sql-common/client.c')
-rw-r--r--sql-common/client.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sql-common/client.c b/sql-common/client.c
index a6e02376a40..e92a9bd0cdc 100644
--- a/sql-common/client.c
+++ b/sql-common/client.c
@@ -1714,7 +1714,6 @@ static MYSQL_METHODS client_methods=
C_MODE_START
int mysql_init_character_set(MYSQL *mysql)
{
- NET *net= &mysql->net;
const char *default_collation_name;
/* Set character set */