~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/replication/tblmap.cc

  • Committer: Brian Aker
  • Date: 2008-12-06 23:57:32 UTC
  • mfrom: (656.1.10 devel)
  • Revision ID: brian@tangent.org-20081206235732-jx228bczpvmxu8ww
Merge from Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
Table* table_mapping::get_table(ulong table_id)
47
47
{
48
48
  entry *e= find_entry(table_id);
49
 
  if (e) 
 
49
  if (e)
50
50
  {
51
51
    return(e->table);
52
52
  }
86
86
  if (e == 0)
87
87
  {
88
88
    if (m_free == 0 && expand())
89
 
      return(ERR_MEMORY_ALLOCATION); // Memory allocation failed      
 
89
      return(ERR_MEMORY_ALLOCATION); // Memory allocation failed
90
90
    e= m_free;
91
91
    m_free= m_free->next;
92
92
  }