diff options
author | unknown <kaa@kaamos.(none)> | 2008-01-10 20:43:05 +0300 |
---|---|---|
committer | unknown <kaa@kaamos.(none)> | 2008-01-10 20:43:05 +0300 |
commit | 84762ce2cb01d352858dfff14afa9debffd14d8a (patch) | |
tree | 00215a5ff12ebfdc733b01290aab9d5a726bf12e /client/mysql.cc | |
parent | c7eb461d549480cccb2ed9b1830bd03d8edda36e (diff) | |
parent | eb80c468c0ee8f5363fae0f4cc544c53b4208367 (diff) | |
download | mariadb-git-84762ce2cb01d352858dfff14afa9debffd14d8a.tar.gz |
Merge kaamos.(none):/data/src/mysql-5.0
into kaamos.(none):/data/src/opt/mysql-5.0-opt
client/mysql.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 6744600aadb..76ed82508be 100644 --- a/client/mysql.cc +++ b/client/mysql.cc @@ -3083,7 +3083,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) { |