~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/natural_join_column.cc

  • Committer: Brian Aker
  • Date: 2010-10-22 14:29:31 UTC
  • mto: This revision was merged to the branch mainline in revision 1872.
  • Revision ID: brian@tangent.org-20101022142931-uhy43hb33rasy0fg
Usage of find_temporary_table() to identifier.

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
    Test that TableList::db is the same as TableShare::db to
67
67
    ensure consistency. 
68
68
  */
69
 
  assert(!strcmp(table_ref->getSchemaName(), table_ref->table->getShare()->getSchemaName()));
70
 
 
71
 
  return table_ref->getSchemaName();
 
69
  assert(!strcmp(table_ref->db,
 
70
                 table_ref->table->getShare()->getSchemaName()));
 
71
  return table_ref->db;
72
72
}
73
73
 
74
74
} /* namespace drizzled */