summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <gshchepa/uchum@gshchepa.loc>2007-04-29 12:56:46 +0500
committerunknown <gshchepa/uchum@gshchepa.loc>2007-04-29 12:56:46 +0500
commit7eb77da33a7da7c56053164793012f1091048350 (patch)
tree39a580e53aad8071b236a416d4f92669c7891aa1
parenta925eadc508fb798b5e7e0521118cf95f862629b (diff)
downloadmariadb-git-7eb77da33a7da7c56053164793012f1091048350.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