~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_base.cc

  • Committer: Brian Aker
  • Date: 2011-02-03 20:32:09 UTC
  • mfrom: (2139.1.4 drizzle-build)
  • Revision ID: brian@tangent.org-20110203203209-r1t4knmy15x5n1w2
Rollup.

Show diffs side-by-side

added added

removed removed

Lines of Context:
575
575
}
576
576
 
577
577
int Open_tables_state::doGetTableDefinition(const identifier::Table &identifier,
578
 
                                  message::Table &table_proto)
 
578
                                            message::Table &table_proto)
579
579
{
580
580
  for (Table *table= getTemporaryTables() ; table ; table= table->getNext())
581
581
  {
583
583
    {
584
584
      if (identifier.getKey() == table->getShare()->getCacheKey())
585
585
      {
586
 
        table_proto.CopyFrom(*(table->getShare()->getTableProto()));
 
586
        table_proto.CopyFrom(*(table->getShare()->getTableMessage()));
587
587
 
588
588
        return EEXIST;
589
589
      }