~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table.cc

  • Committer: Brian Aker
  • Date: 2009-05-14 23:59:50 UTC
  • mto: This revision was merged to the branch mainline in revision 1021.
  • Revision ID: brian@gaz-20090514235950-9f1f1rbcpmxhaanv
Removed dead code from table_list.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2415
2415
TableList *TableList::find_underlying_table(Table *table_to_find)
2416
2416
{
2417
2417
  /* is this real table and table which we are looking for? */
2418
 
  if (table == table_to_find && merge_underlying_list == 0)
 
2418
  if (table == table_to_find)
2419
2419
    return this;
2420
2420
 
2421
 
  for (TableList *tbl= merge_underlying_list; tbl; tbl= tbl->next_local)
2422
 
  {
2423
 
    TableList *result;
2424
 
    if ((result= tbl->find_underlying_table(table_to_find)))
2425
 
      return result;
2426
 
  }
2427
 
  return 0;
2428
 
}
2429
 
 
2430
 
/*
2431
 
  cleunup items belonged to view fields translation table
2432
 
 
2433
 
  SYNOPSIS
2434
 
    TableList::cleanup_items()
2435
 
*/
2436
 
 
2437
 
void TableList::cleanup_items()
2438
 
{
 
2421
  return NULL;
2439
2422
}
2440
2423
 
2441
2424