Commit d29a8f09 authored by unknown's avatar unknown
Browse files

Bug #21056 ndb pushdown equal/setValue error on datetime: thread safe bitmap not needed

parent 73db46fb
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -365,9 +365,9 @@ class Ndb_cond_traverse_context
    skip(0), collation(NULL), rewrite_stack(NULL)
  {
    // Allocate type checking bitmaps   
    bitmap_init(&expect_mask, 0, 512, TRUE);
    bitmap_init(&expect_field_type_mask, 0, 512, TRUE);
    bitmap_init(&expect_field_result_mask, 0, 512, TRUE);
    bitmap_init(&expect_mask, 0, 512, FALSE);
    bitmap_init(&expect_field_type_mask, 0, 512, FALSE);
    bitmap_init(&expect_field_result_mask, 0, 512, FALSE);

    if (stack)
      cond_ptr= stack->ndb_cond;