~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/include/trx0rec.ic

  • Committer: Brian Aker
  • Date: 2010-10-27 21:00:49 UTC
  • mto: This revision was merged to the branch mainline in revision 1886.
  • Revision ID: brian@tangent.org-20101027210049-zfpgx2cfbrh8maq9
A couple of fixes to documentation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*****************************************************************************
2
2
 
3
 
Copyright (C) 1996, 2009, Innobase Oy. All Rights Reserved.
 
3
Copyright (c) 1996, 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
78
78
 
79
79
        ptr = undo_rec + 3;
80
80
 
81
 
        return(mach_ull_read_much_compressed(ptr));
 
81
        return(mach_dulint_read_much_compressed(ptr));
82
82
}
83
83
 
84
84
/**********************************************************************//**
90
90
/*====================*/
91
91
        undo_no_t       undo_no)        /*!< in: undo no read from node */
92
92
{
93
 
        return (3 + mach_ull_get_much_compressed_size(undo_no));
 
93
        return (3 + mach_dulint_get_much_compressed_size(undo_no));
94
94
}
95
95
 
96
96
/***********************************************************************//**
107
107
 
108
108
        len = mach_read_from_2(undo_rec)
109
109
                - ut_align_offset(undo_rec, UNIV_PAGE_SIZE);
110
 
        return (trx_undo_rec_t*)mem_heap_dup(heap, undo_rec, len);
 
110
        return(mem_heap_dup(heap, undo_rec, len));
111
111
}
112
112
#endif /* !UNIV_HOTBACKUP */