Commit 9037f6d9 authored by igor@olga.mysql.com's avatar igor@olga.mysql.com

Post-merge fixes.

parent 676c5ef4
......@@ -1575,7 +1575,7 @@ public:
int cmp(const uchar *a, const uchar *b)
{
DBUG_ASSERT(ptr == a);
return Field_bit::key_cmp((const byte *) b, bytes_in_rec+test(bit_len));
return Field_bit::key_cmp(b, bytes_in_rec+test(bit_len));
}
int cmp_binary_offset(uint row_offset)
{ return cmp_offset(row_offset); }
......@@ -1587,7 +1587,7 @@ public:
void get_image(uchar *buff, uint length, CHARSET_INFO *cs)
{ get_key_image(buff, length, itRAW); }
void set_image(const uchar *buff,uint length, CHARSET_INFO *cs)
{ Field_bit::store(buff, length, cs); }
{ Field_bit::store((char *) buff, length, cs); }
uint get_key_image(uchar *buff, uint length, imagetype type);
void set_key_image(const uchar *buff, uint length)
{ Field_bit::store((char*) buff, length, &my_charset_bin); }
......
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