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