~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/ref.cc

Merge in Joe's transaction id code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
184
184
          condition, so that we can give a better error message -
185
185
          ER_WRONG_FIELD_WITH_GROUP, instead of the less informative
186
186
          ER_BAD_FIELD_ERROR which we produce now.
 
187
 
 
188
          @todo determine if this is valid.
187
189
        */
188
190
        if ((place != IN_HAVING ||
189
191
             (!select->with_sum_func &&
244
246
              } while (outer_context && outer_context->select_lex &&
245
247
                       cached_table->select_lex != outer_context->select_lex);
246
248
            }
247
 
            prev_subselect_item->used_tables_cache|= from_field->table->map;
 
249
            prev_subselect_item->used_tables_cache|= from_field->getTable()->map;
248
250
            prev_subselect_item->const_item_cache= 0;
249
251
            break;
250
252
          }