~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/row/row0undo.cc

  • Committer: Monty Taylor
  • Date: 2011-03-10 18:09:05 UTC
  • mfrom: (2225.2.2 refactor)
  • mto: This revision was merged to the branch mainline in revision 2228.
  • Revision ID: mordred@inaugust.com-20110310180905-ttx05t7q7ff6nl7c
Merge Olad: Refactoring

Show diffs side-by-side

added added

removed removed

Lines of Context:
135
135
 
136
136
        ut_ad(trx && parent && heap);
137
137
 
138
 
        undo = mem_heap_alloc(heap, sizeof(undo_node_t));
 
138
        undo = static_cast<undo_node_t *>(mem_heap_alloc(heap, sizeof(undo_node_t)));
139
139
 
140
140
        undo->common.type = QUE_NODE_UNDO;
141
141
        undo->common.parent = parent;
360
360
 
361
361
        trx = thr_get_trx(thr);
362
362
 
363
 
        node = thr->run_node;
 
363
        node = static_cast<undo_node_t *>(thr->run_node);
364
364
 
365
365
        ut_ad(que_node_get_type(node) == QUE_NODE_UNDO);
366
366