~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Lee Bieber
  • Date: 2010-12-03 01:16:19 UTC
  • mfrom: (1819.9.81 update-innobase)
  • Revision ID: kalebral@gmail.com-20101203011619-n6v584rijwdet05b
Merge Stewart - update Innobase plugin based on InnoDB 1.1.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*****************************************************************************
2
2
 
3
 
Copyright (C) 1997, 2009, Innobase Oy. All Rights Reserved.
 
3
Copyright (c) 1997, 2009, Innobase Oy. All Rights Reserved.
4
4
 
5
5
This program is free software; you can redistribute it and/or modify it under
6
6
the terms of the GNU General Public License as published by the Free Software
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