~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/trx/trx0undo.c

  • Committer: Brian Aker
  • Date: 2010-07-16 05:40:08 UTC
  • mto: This revision was merged to the branch mainline in revision 1661.
  • Revision ID: brian@gaz-20100716054008-cfcvyu0akpwqnwqd
Encapsulate Table in field

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
12
 
13
13
You should have received a copy of the GNU General Public License along with
14
 
this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
15
 
St, Fifth Floor, Boston, MA 02110-1301 USA
 
14
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
 
15
Place, Suite 330, Boston, MA 02111-1307 USA
16
16
 
17
17
*****************************************************************************/
18
18
 
1522
1522
 
1523
1523
/********************************************************************//**
1524
1524
Frees an undo log memory copy. */
1525
 
UNIV_INTERN
 
1525
static
1526
1526
void
1527
1527
trx_undo_mem_free(
1528
1528
/*==============*/
1938
1938
 
1939
1939
                UT_LIST_ADD_FIRST(undo_list, rseg->update_undo_cached, undo);
1940
1940
        } else {
1941
 
                ut_ad(undo->state == TRX_UNDO_TO_PURGE
1942
 
                      || undo->state == TRX_UNDO_TO_FREE);
 
1941
                ut_ad(undo->state == TRX_UNDO_TO_PURGE);
1943
1942
 
1944
1943
                trx_undo_mem_free(undo);
1945
1944
        }