~jlukas79/+junk/mysql-server

« back to all changes in this revision

Viewing changes to sql/rpl_tblmap.cc

manual merge 6.0-main --> 6.0-bka-review

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
  entry *e= find_entry(table_id);
54
54
  if (e) 
55
55
  {
56
 
    DBUG_PRINT("info", ("tid %lu -> table 0x%lx (%s)", 
57
 
                        table_id, (long) e->table,
 
56
    DBUG_PRINT("info", ("tid %lu -> table %p (%s)", 
 
57
                        table_id, e->table,
58
58
                        MAYBE_TABLE_NAME(e->table)));
59
59
    DBUG_RETURN(e->table);
60
60
  }
92
92
int table_mapping::set_table(ulong table_id, TABLE* table)
93
93
{
94
94
  DBUG_ENTER("table_mapping::set_table(ulong,TABLE*)");
95
 
  DBUG_PRINT("enter", ("table_id: %lu  table: 0x%lx (%s)", 
 
95
  DBUG_PRINT("enter", ("table_id: %lu  table: %p (%s)", 
96
96
                       table_id, 
97
 
                       (long) table, MAYBE_TABLE_NAME(table)));
 
97
                       table, MAYBE_TABLE_NAME(table)));
98
98
  entry *e= find_entry(table_id);
99
99
  if (e == 0)
100
100
  {
110
110
  e->table= table;
111
111
  my_hash_insert(&m_table_ids,(uchar *)e);
112
112
 
113
 
  DBUG_PRINT("info", ("tid %lu -> table 0x%lx (%s)", 
114
 
                      table_id, (long) e->table,
 
113
  DBUG_PRINT("info", ("tid %lu -> table %p (%s)", 
 
114
                      table_id, e->table,
115
115
                      MAYBE_TABLE_NAME(e->table)));
116
116
  DBUG_RETURN(0);               // All OK
117
117
}