diff options
Diffstat (limited to 'sql/key.cc')
-rw-r--r-- | sql/key.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/key.cc b/sql/key.cc index d4499573e8e..a2c3b2c8989 100644 --- a/sql/key.cc +++ b/sql/key.cc @@ -233,7 +233,7 @@ void key_unpack(String *to,TABLE *table,uint idx) } if ((field=key_part->field)) { - field->val_str(&tmp,&tmp); + field->val_str(&tmp); if (key_part->length < field->pack_length()) tmp.length(min(tmp.length(),key_part->length)); to->append(tmp); |