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 /sql/sp.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 'sql/sp.cc')
-rw-r--r-- | sql/sp.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sp.cc b/sql/sp.cc index 0b84e1ad07f..f8b039626f9 100644 --- a/sql/sp.cc +++ b/sql/sp.cc @@ -1895,7 +1895,7 @@ sp_use_new_db(THD *thd, LEX_STRING new_db, LEX_STRING *old_db, if (thd->db) { - old_db->length= (strmake(old_db->str, thd->db, old_db->length) - + old_db->length= (strmake(old_db->str, thd->db, old_db->length - 1) - old_db->str); } else |