Skip to content

Commit

Permalink
Create trx_undo library
Browse files Browse the repository at this point in the history
  • Loading branch information
romz-pl committed Sep 7, 2019
1 parent 0135fe8 commit f76c7dc
Show file tree
Hide file tree
Showing 111 changed files with 1,107 additions and 986 deletions.
Binary file modified library-dependency/innobase.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions storage/innobase/btr/btr0cur.cc
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ this program; if not, write to the Free Software Foundation, Inc.,
Created 10/16/1994 Heikki Tuuri
*******************************************************/

#include <innodb/trx_undo/trx_undo_build_roll_ptr.h>
#include <innodb/trx_undo/trx_write_roll_ptr.h>
#include <innodb/trx_sys/trx_sys.h>
#include <innodb/io/srv_read_only_mode.h>
#include <innodb/page/page_zip_available.h>
Expand Down
2 changes: 1 addition & 1 deletion storage/innobase/buf/buf0buf.cc
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ this program; if not, write to the Free Software Foundation, Inc.,
#include "log0log.h"

#include "trx0purge.h"
#include "trx0undo.h"

#include <innodb/formatting/formatting.h>

#include <errno.h>
Expand Down
2 changes: 1 addition & 1 deletion storage/innobase/dict/dict0dict.cc
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ extern uint ibuf_debug;
#include "srv0mon.h"
#include "srv0start.h"

#include "trx0undo.h"

#endif /* !UNIV_HOTBACKUP */
#include "ut0ut.h"

Expand Down
1 change: 1 addition & 0 deletions storage/innobase/gis/gis0rtree.cc
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ this program; if not, write to the Free Software Foundation, Inc.,
Created 2013/03/27 Allen Lai and Jimmy Yang
***********************************************************************/

#include <innodb/trx_undo/trx_write_roll_ptr.h>
#include <innodb/page/page_zip_compress.h>
#include <innodb/page/page_zip_copy_recs.h>
#include <innodb/page/page_zip_decompress.h>
Expand Down
3 changes: 2 additions & 1 deletion storage/innobase/include/row0row.ic
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ this program; if not, write to the Free Software Foundation, Inc.,
Created 4/20/1996 Heikki Tuuri
*******************************************************/

#include <innodb/trx_undo/trx_read_roll_ptr.h>
#include <innodb/trx_sys/trx_read_trx_id.h>
#include <innodb/record/rec_get_nth_field.h>
#include <innodb/data_types/dtuple_get_n_fields.h>
Expand All @@ -42,7 +43,7 @@ this program; if not, write to the Free Software Foundation, Inc.,

#include "dict0dict.h"

#include "trx0undo.h"


/** Gets the offset of the DB_TRX_ID field, in bytes relative to the origin of
a clustered index record.
Expand Down
2 changes: 2 additions & 0 deletions storage/innobase/include/row0undo.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ this program; if not, write to the Free Software Foundation, Inc.,

#include <innodb/univ/univ.h>

#include <innodb/trx_types/trx_undo_rec_t.h>

#include "btr0pcur.h"
#include "btr0types.h"
#include "que0types.h"
Expand Down
3 changes: 2 additions & 1 deletion storage/innobase/include/row0upd.ic
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ this program; if not, write to the Free Software Foundation, Inc.,
Created 12/27/1996 Heikki Tuuri
*******************************************************/

#include <innodb/trx_undo/trx_write_roll_ptr.h>
#include <innodb/page/page_zip_write_trx_id_and_roll_ptr.h>
#include <innodb/memory/mem_heap_zalloc.h>
#include <innodb/trx_sys/trx_write_trx_id.h>
Expand All @@ -39,7 +40,7 @@ this program; if not, write to the Free Software Foundation, Inc.,
#include "lock0lock.h"
#include "row0row.h"

#include "trx0undo.h"

#endif /* !UNIV_HOTBACKUP */


Expand Down
4 changes: 3 additions & 1 deletion storage/innobase/include/trx0purge.ic
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ this program; if not, write to the Free Software Foundation, Inc.,
Created 3/26/1996 Heikki Tuuri
*******************************************************/

#include "trx0undo.h"
#include <innodb/trx_undo/flags.h>



/** Calculates the file address of an undo log header when we have the file
address of its history list node.
Expand Down
Loading

0 comments on commit f76c7dc

Please sign in to comment.