Commit fbed4826 authored by gshchepa/uchum@gshchepa.loc's avatar gshchepa/uchum@gshchepa.loc
Browse files

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

parent 87c6ef4c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;