~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_error.cc

  • Committer: Lee Bieber
  • Date: 2011-02-21 21:20:44 UTC
  • mfrom: (2187.1.2 build)
  • Revision ID: kalebral@gmail.com-20110221212044-x1j9pmv0230febuz
Merge Brian - getLex() usage and fix for table_name creation during admin commands.
Merge Olaf - Use List::begin() and Use List::iterator instead of List_iterator_fast

Show diffs side-by-side

added added

removed removed

Lines of Context:
221
221
    return true;
222
222
 
223
223
  DRIZZLE_ERROR *err;
224
 
  Select_Lex *sel= &session->lex->select_lex;
225
 
  Select_Lex_Unit *unit= &session->lex->unit;
 
224
  Select_Lex *sel= &session->getLex()->select_lex;
 
225
  Select_Lex_Unit *unit= &session->getLex()->unit;
226
226
  ha_rows idx= 0;
227
227
 
228
228
  unit->set_limit(sel);