~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/subselect.cc

  • Committer: Olaf van der Spek
  • Date: 2011-02-09 21:31:01 UTC
  • mto: (2167.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 2168.
  • Revision ID: olaf@testing-20110209213101-17fg3hzm5so7zk6h
Const fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
2773
2773
void subselect_uniquesubquery_engine::print(String *str,
2774
2774
                                            enum_query_type query_type)
2775
2775
{
2776
 
  char *table_name= const_cast<char *>(tab->table->getShare()->getTableName());
 
2776
  const char *table_name= tab->table->getShare()->getTableName();
2777
2777
  str->append(STRING_WITH_LEN("<primary_index_lookup>("));
2778
2778
  tab->ref.items[0]->print(str, query_type);
2779
2779
  str->append(STRING_WITH_LEN(" in "));