Commit 798179fd authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

Addresses #993

Fix bug in assertion

git-svn-id: file:///svn/mysql/tokudb-engine/src@5156 c7de825b-a66e-492c-adef-691d508d4ae1
parent 5884ae2d
...@@ -2755,7 +2755,7 @@ int ha_tokudb::index_read(uchar * buf, const uchar * key, uint key_len, enum ha_ ...@@ -2755,7 +2755,7 @@ int ha_tokudb::index_read(uchar * buf, const uchar * key, uint key_len, enum ha_
assert(h_key.size == last_key.size); assert(h_key.size == last_key.size);
assert(h_val.size == row.size); assert(h_val.size == row.size);
assert(!memcmp(h_key.data, last_key.data, h_key.size)); assert(!memcmp(h_key.data, last_key.data, h_key.size));
assert(!memcmp(h_val.data, row.data, h_key.size)); assert(!memcmp(h_val.data, row.data, h_val.size));
free(h_key.data); free(h_key.data);
free(h_val.data); free(h_val.data);
} }
......
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