~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table_list.cc

  • Committer: Olaf van der Spek
  • Date: 2011-08-08 09:51:16 UTC
  • mto: This revision was merged to the branch mainline in revision 2396.
  • Revision ID: olafvdspek@gmail.com-20110808095116-hnodu1sdn0vezgfn
cppcheck

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
 
30
30
namespace drizzled {
31
31
 
32
 
bool TableList::set_insert_values(memory::Root *)
 
32
void TableList::set_insert_values()
33
33
{
34
34
  if (table)
35
35
  {
36
36
    table->insert_values.resize(table->getShare()->rec_buff_length);
37
37
  }
38
 
 
39
 
  return false;
40
38
}
41
39
 
42
 
bool TableList::is_leaf_for_name_resolution()
 
40
bool TableList::is_leaf_for_name_resolution() const
43
41
{
44
 
  return (is_natural_join || is_join_columns_complete || !nested_join);
 
42
  return is_natural_join || is_join_columns_complete || not nested_join;
45
43
}
46
44
 
47
45
TableList *TableList::find_underlying_table(Table *table_to_find)