~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_parse.cc

  • Committer: Mark Atwood
  • Date: 2011-10-25 19:08:35 UTC
  • mfrom: (2445.1.6 rf)
  • Revision ID: me@mark.atwood.name-20111025190835-g21cn911ypxjd5fi
mergeĀ lp:~olafvdspek/drizzle/refactor7

Show diffs side-by-side

added added

removed removed

Lines of Context:
901
901
  if (!table)
902
902
    return NULL;                                // End of memory
903
903
  const char* alias_str= alias ? alias->data() : table->table.data();
904
 
  if (not table_options.test(TL_OPTION_ALIAS) &&
905
 
      check_table_name(table->table.data(), table->table.size()))
 
904
  if (not table_options.test(TL_OPTION_ALIAS) && check_table_name(table->table))
906
905
  {
907
906
    my_error(ER_WRONG_TABLE_NAME, MYF(0), table->table.data());
908
907
    return NULL;