diff options
author | igor@olga.mysql.com <> | 2007-08-05 17:12:57 -0700 |
---|---|---|
committer | igor@olga.mysql.com <> | 2007-08-05 17:12:57 -0700 |
commit | 88703939ad6dc32a802dbcec13af5ce37b474d0e (patch) | |
tree | e32d02f454121999d612fb349d09cdabf20da933 /sql/field.h | |
parent | a8debc6503eae5f9e2f6c7c446103a9d01594091 (diff) | |
download | mariadb-git-88703939ad6dc32a802dbcec13af5ce37b474d0e.tar.gz |
Fixed compiler error for Windows in the patch for bug 30219.
Diffstat (limited to 'sql/field.h')
-rw-r--r-- | sql/field.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/field.h b/sql/field.h index 92705b9aac4..4fcdb50f8c7 100644 --- a/sql/field.h +++ b/sql/field.h @@ -1432,7 +1432,7 @@ public: 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); } |