Commit 163c2a60 authored by unknown's avatar unknown

bug#23542 crash on DELETE from ndb dd table: uses_blob_value always reads...

bug#23542  crash on DELETE from ndb dd table: uses_blob_value always reads write_set, should check read_set if read operation


parent 3f40c19d
......@@ -965,8 +965,7 @@ bool ha_ndbcluster::uses_blob_value()
blob_index_end= blob_index + table_share->blob_fields;
do
{
if (bitmap_is_set(table->write_set,
table->field[*blob_index]->field_index))
if (bitmap_is_set(bitmap, table->field[*blob_index]->field_index))
return TRUE;
} while (++blob_index != blob_index_end);
return FALSE;
......
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