~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Monty Taylor
  • Date: 2010-12-10 17:15:20 UTC
  • mto: (2023.3.15 innodb-cxx)
  • mto: This revision was merged to the branch mainline in revision 2014.
  • Revision ID: mordred@inaugust.com-20101210171520-jjzk0ajz1w6dgexo
Cleaned up for additional gcc 4.5 warnings.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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 */