diff options
author | tnurnberg@white.intern.koehntopp.de <> | 2007-12-17 09:45:36 +0100 |
---|---|---|
committer | tnurnberg@white.intern.koehntopp.de <> | 2007-12-17 09:45:36 +0100 |
commit | f7aa719268212bdbc7d48e55dd51cf47dc4e034a (patch) | |
tree | e4b2848c7525b508ab99249f5aa768c7b5061077 /client | |
parent | ca5f50788ed89d3155828984bef7e3898aba47e0 (diff) | |
parent | e131a412815767bb8590c3831fd2797c10112ab8 (diff) | |
download | mariadb-git-f7aa719268212bdbc7d48e55dd51cf47dc4e034a.tar.gz |
Merge tnurnberg@bk-internal.mysql.com:/home/bk/mysql-5.0-opt
into mysql.com:/misc/mysql/31752_/50-31752_
Diffstat (limited to 'client')
-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) { |