~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_base.cc

  • Committer: Brian Aker
  • Date: 2010-03-19 01:45:39 UTC
  • mto: This revision was merged to the branch mainline in revision 1362.
  • Revision ID: brian@gaz-20100319014539-jv38vkd8h9a4axzr
Another pass through the interface...

Show diffs side-by-side

added added

removed removed

Lines of Context:
618
618
  return false;
619
619
}
620
620
 
621
 
int Session::doGetTableDefinition(const char *,
622
 
                                  const char *db_arg,
623
 
                                  const char *table_name_arg,
624
 
                                  const bool ,
 
621
int Session::doGetTableDefinition(TableIdentifier &identifier,
625
622
                                  message::Table &table_proto)
626
623
{
627
624
  for (Table *table= temporary_tables ; table ; table= table->next)
628
625
  {
629
626
    if (table->s->tmp_table == TEMP_TABLE)
630
627
    {
631
 
      if (not strcmp(db_arg, table->s->getSchemaName()))
 
628
      if (not strcmp(identifier.getSchemaName(), table->s->getSchemaName()))
632
629
      {
633
 
        if (not strcmp(table_name_arg, table->s->table_name.str))
 
630
        if (not strcmp(identifier.getTableName(), table->s->table_name.str))
634
631
        {
635
632
          table_proto.CopyFrom(*(table->s->getTableProto()));
636
633