diff options
author | unknown <igor@olga.mysql.com> | 2007-08-05 17:12:57 -0700 |
---|---|---|
committer | unknown <igor@olga.mysql.com> | 2007-08-05 17:12:57 -0700 |
commit | 29e8718970ceaf735abbf5f534b25fca97c11d85 (patch) | |
tree | e32d02f454121999d612fb349d09cdabf20da933 /sql/field.h | |
parent | e106b09ad3509991e8e4cd286c14135486363400 (diff) | |
download | mariadb-git-29e8718970ceaf735abbf5f534b25fca97c11d85.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); } |