Commit 163c2a60 authored by unknown's avatar unknown
Browse files

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
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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;