~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/rpl_rli.h

  • Committer: Brian Aker
  • Date: 2008-08-18 22:20:43 UTC
  • mto: This revision was merged to the branch mainline in revision 352.
  • Revision ID: brian@tangent.org-20080818222043-et6zf93ogrgx1cz9
Refactoring table.h

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#include "rpl_reporting.h"
21
21
#include "rpl_utility.h"
22
22
 
23
 
struct RPL_TABLE_LIST;
 
23
struct RPL_TableList;
24
24
class Master_info;
25
25
 
26
26
/****************************************************************************
297
297
            group_relay_log_pos);
298
298
  }
299
299
 
300
 
  RPL_TABLE_LIST *tables_to_lock;           /* RBR: Tables to lock  */
 
300
  RPL_TableList *tables_to_lock;           /* RBR: Tables to lock  */
301
301
  uint32_t tables_to_lock_count;        /* RBR: Count of tables to lock */
302
302
  table_mapping m_table_map;      /* RBR: Mapping table-id to table */
303
303
 
304
304
  inline table_def *get_tabledef(Table *tbl)
305
305
  {
306
306
    table_def *td= 0;
307
 
    for (TABLE_LIST *ptr= tables_to_lock; ptr && !td; ptr= ptr->next_global)
 
307
    for (TableList *ptr= tables_to_lock; ptr && !td; ptr= ptr->next_global)
308
308
      if (ptr->table == tbl)
309
 
        td= &((RPL_TABLE_LIST *)ptr)->m_tabledef;
 
309
        td= &((RPL_TableList *)ptr)->m_tabledef;
310
310
    return (td);
311
311
  }
312
312