Commit 88703939 authored by igor@olga.mysql.com's avatar igor@olga.mysql.com
Browse files

Fixed compiler error for Windows in the patch for bug 30219.

parent a8debc65
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1432,7 +1432,7 @@ class Field_bit :public Field {
  int cmp(const char *a, const char *b)
  { 
    DBUG_ASSERT(ptr == a);
    return Field_bit::key_cmp(b, bytes_in_rec+test(bit_len));
    return Field_bit::key_cmp((const byte *) b, bytes_in_rec+test(bit_len));
  }
  int key_cmp(const byte *a, const byte *b)
  { return cmp_binary((char *) a, (char *) b); }