Commit 058e1597 authored by unknown's avatar unknown

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

parent d18c10ae
......@@ -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); }
......
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