~jaypipes/drizzle/new-test-runner

« back to all changes in this revision

Viewing changes to drizzled/replication/tblmap.cc

  • Committer: Jay Pipes
  • Date: 2008-12-11 17:52:34 UTC
  • mfrom: (482.16.152 testable)
  • Revision ID: jpipes@serialcoder-20081211175234-uqsfvmgxejvmellq
merge with trunk

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
  }