~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Olaf van der Spek
  • Date: 2011-03-28 14:32:36 UTC
  • mto: (2257.1.1 build) (2276.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 2258.
  • Revision ID: olafvdspek@gmail.com-20110328143236-4ge1d793iqaktfq0
Common fwd

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