~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/cmpfunc.cc

  • Committer: Brian Aker
  • Date: 2010-07-16 05:40:08 UTC
  • mto: This revision was merged to the branch mainline in revision 1661.
  • Revision ID: brian@gaz-20100716054008-cfcvyu0akpwqnwqd
Encapsulate Table in field

Show diffs side-by-side

added added

removed removed

Lines of Context:
5101
5101
  while ((item_field= it++))
5102
5102
  {
5103
5103
    /* Skip fields of non-const tables. They haven't been read yet */
5104
 
    if (item_field->field->table->const_table)
 
5104
    if (item_field->field->getTable()->const_table)
5105
5105
    {
5106
5106
      if ((null_value= item_field->null_value) || eval_item->cmp(item_field))
5107
5107
        return 0;