diff options
author | unknown <tnurnberg@white.intern.koehntopp.de> | 2007-12-17 09:45:36 +0100 |
---|---|---|
committer | unknown <tnurnberg@white.intern.koehntopp.de> | 2007-12-17 09:45:36 +0100 |
commit | 607941de2e96bef5cc88e53c93d700aca0cff840 (patch) | |
tree | e4b2848c7525b508ab99249f5aa768c7b5061077 /client/mysql.cc | |
parent | fe28526ba14cfe5ea073c37eda4d351cf723ef69 (diff) | |
parent | 02cdb7eccab6fe262d4a9d430f9d23eb51ac4839 (diff) | |
download | mariadb-git-607941de2e96bef5cc88e53c93d700aca0cff840.tar.gz |
Merge tnurnberg@bk-internal.mysql.com:/home/bk/mysql-5.0-opt
into mysql.com:/misc/mysql/31752_/50-31752_
client/mysql.cc:
Auto merged
sql/log.cc:
Auto merged
sql/set_var.cc:
Auto merged
sql/sp.cc:
Auto merged
sql/unireg.cc:
Auto merged
Diffstat (limited to 'client/mysql.cc')
-rw-r--r-- | client/mysql.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/client/mysql.cc b/client/mysql.cc index 999a37e0f7e..d39a0554994 100644 --- a/client/mysql.cc +++ b/client/mysql.cc @@ -3085,7 +3085,10 @@ com_connect(String *buffer, char *line) Two null bytes are needed in the end of buff to allow get_arg to find end of string the second time it's called. */ - strmake(buff, line, sizeof(buff)-2); + tmp= strmake(buff, line, sizeof(buff)-2); +#ifdef EXTRA_DEBUG + tmp[1]= 0; +#endif tmp= get_arg(buff, 0); if (tmp && *tmp) { |