~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Brian Aker
  • Date: 2010-12-27 19:16:17 UTC
  • mto: This revision was merged to the branch mainline in revision 2036.
  • Revision ID: brian@tangent.org-20101227191617-b1jesi0g2okc06nj
Improvement for decimal in encapsulation.

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 = static_cast<undo_node_t *>(mem_heap_alloc(heap, sizeof(undo_node_t)));
 
138
        undo = 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 = static_cast<undo_node_t *>(thr->run_node);
 
363
        node = thr->run_node;
364
364
 
365
365
        ut_ad(que_node_get_type(node) == QUE_NODE_UNDO);
366
366