mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 19:11:46 +01:00
addresses #846
not accessing null_bit correctly git-svn-id: file:///svn/mysql/tokudb-engine/src@4164 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
dd715af4cd
commit
c5d5e6c279
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue