diff options
author | unknown <konstantin@mysql.com> | 2005-01-11 14:47:12 +0300 |
---|---|---|
committer | unknown <konstantin@mysql.com> | 2005-01-11 14:47:12 +0300 |
commit | a3f322b72b276a5c3a1c37a18250b2e4faae3279 (patch) | |
tree | ac67686cd6fe594e418541c378b09f3e55cad984 /sql | |
parent | 7ce22ed659dc608e059b59108c8636b7ba9cced8 (diff) | |
parent | 6b787f2aa94e7f8ad4cf08d0d667e9a6e9e6a20f (diff) | |
download | mariadb-git-a3f322b72b276a5c3a1c37a18250b2e4faae3279.tar.gz |
Merge mysql.com:/home/kostja/work/mysql-4.1-7428
into mysql.com:/home/kostja/work/mysql-5.0-root
sql/net_serv.cc:
Auto merged
sql/sql_class.h:
Auto merged
Diffstat (limited to 'sql')
-rw-r--r-- | sql/net_serv.cc | 2 | ||||
-rw-r--r-- | sql/sql_class.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sql/net_serv.cc b/sql/net_serv.cc index 55f56645f82..bd3bbe3e1a9 100644 --- a/sql/net_serv.cc +++ b/sql/net_serv.cc @@ -255,7 +255,7 @@ my_bool my_net_write(NET *net,const char *packet,ulong len) { uchar buff[NET_HEADER_SIZE]; - if (unlikely(!net->vio)) // nowhere to write + if (unlikely(!net->vio)) /* nowhere to write */ return 0; /* Big packets are handled by splitting them in packets of MAX_PACKET_LENGTH diff --git a/sql/sql_class.h b/sql/sql_class.h index 976c6789d9f..033f5674d34 100644 --- a/sql/sql_class.h +++ b/sql/sql_class.h @@ -742,8 +742,8 @@ public: /* Erase all statements (calls Statement destructor) */ void reset() { - hash_reset(&names_hash); - hash_reset(&st_hash); + my_hash_reset(&names_hash); + my_hash_reset(&st_hash); last_found_statement= 0; } |