~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/ref.cc

  • Committer: Lee Bieber
  • Date: 2011-01-28 02:32:26 UTC
  • mfrom: (2114.4.10 alter-table)
  • mto: This revision was merged to the branch mainline in revision 2124.
  • Revision ID: kalebral@gmail.com-20110128023226-11i88kemmdygtz0d
Merge Brian - more parser rework

Show diffs side-by-side

added added

removed removed

Lines of Context:
132
132
      {
133
133
        /* The current reference cannot be resolved in this query. */
134
134
        my_error(ER_BAD_FIELD_ERROR,MYF(0),
135
 
                 this->full_name(), current_session->where);
 
135
                 full_name(), session->where());
136
136
        goto error;
137
137
      }
138
138
 
285
285
      {
286
286
        /* The item was not a table field and not a reference */
287
287
        my_error(ER_BAD_FIELD_ERROR, MYF(0),
288
 
                 this->full_name(), current_session->where);
 
288
                 full_name(), session->where());
289
289
        goto error;
290
290
      }
291
291
      /* Should be checked in resolve_ref_in_select_and_group(). */