summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgshchepa/uchum@gshchepa.loc <>2007-04-29 12:56:46 +0500
committergshchepa/uchum@gshchepa.loc <>2007-04-29 12:56:46 +0500
commit90864c2874917bca8794b71981c57263368b573a (patch)
tree39a580e53aad8071b236a416d4f92669c7891aa1
parent389cf7ddfc220c57307ea13fff7285ab58df72ee (diff)
downloadmariadb-git-90864c2874917bca8794b71981c57263368b573a.tar.gz
Patch to eliminate compilation errors under VC after bug #13191 fix.
-rw-r--r--sql/key.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/key.cc b/sql/key.cc
index 1816e924c2b..2bdde46b6b3 100644
--- a/sql/key.cc
+++ b/sql/key.cc
@@ -124,7 +124,7 @@ void key_copy(byte *to_key, byte *from_record, KEY *key_info, uint key_length)
{
key_length-= HA_KEY_BLOB_LENGTH;
length= min(key_length, key_part->length);
- key_part->field->get_key_image(to_key, length, Field::itRAW);
+ key_part->field->get_key_image((char*) to_key, length, Field::itRAW);
to_key+= HA_KEY_BLOB_LENGTH;
}
else