Patch to eliminate compilation errors under VC after bug #13191 fix.

parent 87c6ef4c
......@@ -101,9 +101,9 @@ void key_copy(byte *key,TABLE *table,uint idx,uint key_length)
length= min(key_length, key_part->length);
Field *field= key_part->field;
CHARSET_INFO *cs= field->charset();
uint bytes= field->get_key_image(key, length, cs, Field::itRAW);
uint bytes= field->get_key_image((char *) key, length, cs, Field::itRAW);
if (bytes < length)
cs->cset->fill(cs, key + bytes, length - bytes, ' ');
cs->cset->fill(cs, (char *) key + bytes, length - bytes, ' ');
}
key+=length;
key_length-=length;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment