~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/field.cc

  • Committer: Brian Aker
  • Date: 2011-01-06 05:17:09 UTC
  • Revision ID: brian@tangent.org-20110106051709-oa0se8ur02uc6i9o
Added native functions into the function table.

Show diffs side-by-side

added added

removed removed

Lines of Context:
538
538
        if (*from_field != view_ref_found)
539
539
        {
540
540
          prev_subselect_item->used_tables_cache|= (*from_field)->getTable()->map;
541
 
          prev_subselect_item->const_item_cache= 0;
 
541
          prev_subselect_item->const_item_cache= false;
542
542
          set_field(*from_field);
543
543
          if (!last_checked_context->select_lex->having_fix_field &&
544
544
              select->group_list.elements &&
626
626
      case it does not matter which used tables bits we set)
627
627
    */
628
628
    prev_subselect_item->used_tables_cache|= OUTER_REF_TABLE_BIT;
629
 
    prev_subselect_item->const_item_cache= 0;
 
629
    prev_subselect_item->const_item_cache= false;
630
630
  }
631
631
 
632
632
  assert(ref != 0);