~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/table_function.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:
224
224
 
225
225
bool plugin::TableFunction::Generator::isWild(const std::string &predicate)
226
226
{
227
 
  if (not getSession().lex->wild)
 
227
  if (not getSession().getLex()->wild)
228
228
    return false;
229
229
 
230
230
  bool match= wild_case_compare(system_charset_info,
231
231
                                predicate.c_str(),
232
 
                                getSession().lex->wild->ptr());
 
232
                                getSession().getLex()->wild->ptr());
233
233
 
234
234
  return match;
235
235
}