~stewart/drizzle/docs-improvements-1

« back to all changes in this revision

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

merged with up to date trunk

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
107
107
 
108
108
        len = mach_read_from_2(undo_rec)
109
109
                - ut_align_offset(undo_rec, UNIV_PAGE_SIZE);
110
 
        return(mem_heap_dup(heap, undo_rec, len));
 
110
        return (trx_undo_rec_t*)mem_heap_dup(heap, undo_rec, len);
111
111
}
112
112
#endif /* !UNIV_HOTBACKUP */