~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/natural_join_column.cc

  • Committer: Brian Aker
  • Date: 2009-11-30 19:13:19 UTC
  • mfrom: (1225.1.39 figure)
  • Revision ID: brian@gaz-20091130191319-zyt51fidacic3brf
Merge Padraig

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
{
62
62
  /*
63
63
    Test that TableList::db is the same as TableShare::db to
64
 
    ensure consistency. An exception are I_S schema tables, which
65
 
    are inconsistent in this respect.
 
64
    ensure consistency. 
66
65
  */
67
66
  assert(!strcmp(table_ref->db,
68
 
                      table_ref->table->s->db.str) ||
69
 
              (table_ref->schema_table &&
70
 
               table_ref->table->s->db.str[0] == 0));
 
67
                      table_ref->table->s->db.str));
71
68
  return table_ref->db;
72
69
}