Commit 1147c3a9 authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

addresses #846

not accessing ANOTHER null_bit correctly

git-svn-id: file:///svn/mysql/tokudb-engine/src@4165 c7de825b-a66e-492c-adef-691d508d4ae1
parent c5d5e6c2
......@@ -877,7 +877,7 @@ static int tokudb_compare_two_keys(KEY *key, const DBT * new_key, const DBT * sa
int cmp;
uint new_key_field_length;
uint saved_key_field_length;
if (key_part->null_bit) {
if (key_part->field->null_bit) {
assert(new_key_ptr < (uchar *) new_key->data + new_key->size);
assert(saved_key_ptr < (uchar *) saved_key->data + saved_key->size);
if (*new_key_ptr != *saved_key_ptr) {
......
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