~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/alter_table.cc

  • Committer: Monty Taylor
  • Date: 2010-03-16 19:44:26 UTC
  • mfrom: (1273.23.21 pandora-build)
  • mto: This revision was merged to the branch mainline in revision 1381.
  • Revision ID: mordred@inaugust.com-20100316194426-38p1s6e3zkk63397
Merged in latest pandora-build.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1323
1323
      memset(&tables, 0, sizeof(tables));
1324
1324
      tables.table= from;
1325
1325
      tables.alias= tables.table_name= from->s->table_name.str;
1326
 
      tables.db= from->s->db.str;
 
1326
      tables.db= const_cast<char *>(from->s->getSchemaName());
1327
1327
      error= 1;
1328
1328
 
1329
1329
      if (session->lex->select_lex.setup_ref_array(session, order_num) ||