Commit 2e3a9520 authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

addresses #846

not accessing null_bit correctly

git-svn-id: file:///svn/mysql/tokudb-engine/src@4164 c7de825b-a66e-492c-adef-691d508d4ae1
parent d75d6490
......@@ -1333,7 +1333,7 @@ DBT* ha_tokudb::create_dbt_key_from_key(DBT * key, KEY* key_info, uchar * buff,
//
if (key_part->field->null_bit) {
/* Store 0 if the key part is a NULL part */
if (record[key_part->null_offset] & key_part->null_bit) {
if (record[key_part->null_offset] & key_part->field->null_bit) {
*buff++ = 0;
//
// fractal tree does not handle this falg at the moment
......
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