Skip to content

Commit

Permalink
Extend trx_trx library
Browse files Browse the repository at this point in the history
  • Loading branch information
romz-pl committed Sep 6, 2019
1 parent b13e536 commit 453eb88
Show file tree
Hide file tree
Showing 13 changed files with 20 additions and 20 deletions.
1 change: 1 addition & 0 deletions storage/innobase/dict/dict0dict.cc
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ this program; if not, write to the Free Software Foundation, Inc.,

#include "my_config.h"

#include <innodb/trx_trx/trx_set_dict_operation.h>
#include <innodb/page/page_zip_empty_size.h>
#include <innodb/page/page_zip_stat_per_index.h>
#include <innodb/dict_mem/dict_mem_table_free.h>
Expand Down
1 change: 1 addition & 0 deletions storage/innobase/fts/fts0fts.cc
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ this program; if not, write to the Free Software Foundation, Inc.,
Full Text Search interface
***********************************************************************/

#include <innodb/trx_trx/trx_get_dict_operation.h>
#include <innodb/logger/fatal.h>
#include <innodb/data_types/dtype_get_charset_coll.h>
#include <innodb/data_types/dfield_get_data.h>
Expand Down
2 changes: 2 additions & 0 deletions storage/innobase/handler/ha_innodb.cc
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ this program; if not, write to the Free Software Foundation, Inc.,
#include "my_config.h"
#endif /* !UNIV_HOTBACKUP */

#include <innodb/trx_trx/trx_get_error_index.h>
#include <innodb/trx_trx/trx_is_redo_rseg_updated.h>
#include <innodb/memory_check/memory_check.h>
#include <innodb/page/page_zip_log_pages.h>
#include <innodb/page/page_zip_level.h>
Expand Down
1 change: 1 addition & 0 deletions storage/innobase/handler/ha_innopart.cc
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ Created Nov 22, 2013 Mattias Jonsson */
#include <strfunc.h>
#include <new>

#include <innodb/trx_trx/trx_get_error_index.h>
#include <innodb/data_types/dtuple_create.h>
#include <innodb/data_types/dtuple_set_n_fields.h>
#include <innodb/allocator/ut_zalloc.h>
Expand Down
21 changes: 1 addition & 20 deletions storage/innobase/include/trx0trx.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,26 +35,7 @@ this program; if not, write to the Free Software Foundation, Inc.,

#include <innodb/univ/univ.h>

#include <innodb/trx_trx/trx_get_read_view.h>
#include <innodb/trx_types/trx_savept_t.h>
#include <innodb/trx_types/UndoMutex.h>
#include <innodb/trx_types/TrxMutex.h>
#include <innodb/trx_types/trx_que_t.h>
#include <innodb/trx_types/trx_state_t.h>
#include <innodb/trx_types/trx_dict_op_t.h>
#include <innodb/lock_types/trx_lock_list_t.h>
#include <innodb/sync_mutex/mutex_enter.h>
#include <innodb/sync_mutex/mutex_exit.h>
#include <innodb/io/srv_read_only_mode.h>
#include <innodb/trx_trx/trx_state_eq.h>
#include <innodb/trx_trx/trx_get_error_index.h>
#include <innodb/trx_trx/trx_get_dict_operation.h>
#include <innodb/trx_trx/trx_set_dict_operation.h>
#include <innodb/data_types/flags.h>
#include <innodb/page/flag.h>
#include <innodb/read/MVCC.h>
#include <innodb/trx_trx/trx_is_redo_rseg_updated.h>
#include <innodb/trx_trx/trx_is_temp_rseg_updated.h>

#include <innodb/trx_trx/trx_is_rseg_updated.h>
#include <innodb/trx_trx/trx_is_rseg_assigned.h>
#include <innodb/trx_trx/trx_get_que_state_str.h>
Expand Down
2 changes: 2 additions & 0 deletions storage/innobase/lock/lock0lock.cc
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ this program; if not, write to the Free Software Foundation, Inc.,

#define LOCK_MODULE_IMPLEMENTATION

#include <innodb/trx_trx/trx_get_read_view.h>
#include <innodb/trx_trx/trx_get_dict_operation.h>
#include <innodb/trx_trx/thd_trx_priority.h>
#include <innodb/record/rec_print_new.h>
#include <innodb/sync_mutex/mutex_destroy.h>
Expand Down
1 change: 1 addition & 0 deletions storage/innobase/log/log0ddl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ this program; if not, write to the Free Software Foundation, Inc.,
Created 12/1/2016 Shaohua Wang
*******************************************************/

#include <innodb/trx_trx/trx_set_dict_operation.h>
#include <innodb/cmp/cmp_dtuple_rec.h>
#include <innodb/memory/mem_heap_dup.h>
#include <innodb/mtr/mtr_start.h>
Expand Down
2 changes: 2 additions & 0 deletions storage/innobase/row/row0import.cc
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ this program; if not, write to the Free Software Foundation, Inc.,
Created 2012-02-08 by Sunny Bains.
*******************************************************/

#include <innodb/trx_trx/trx_set_dict_operation.h>
#include <innodb/trx_trx/trx_get_dict_operation.h>
#include <innodb/buf_calc/BlockReporter.h>
#include <innodb/record/rec_offs_init.h>
#include <innodb/memory/mem_heap_get_size.h>
Expand Down
2 changes: 2 additions & 0 deletions storage/innobase/row/row0mysql.cc
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ this program; if not, write to the Free Software Foundation, Inc.,
Created 9/17/2000 Heikki Tuuri
*******************************************************/

#include <innodb/trx_trx/trx_set_dict_operation.h>
#include <innodb/trx_trx/trx_get_dict_operation.h>
#include <innodb/memory_check/memory_check.h>
#include <innodb/dict_mem/dict_mem_table_free.h>
#include <innodb/cmp/cmp_dtuple_rec_with_match.h>
Expand Down
1 change: 1 addition & 0 deletions storage/innobase/row/row0sel.cc
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ this program; if not, write to the Free Software Foundation, Inc.,
Created 12/19/1997 Heikki Tuuri
*******************************************************/

#include <innodb/trx_trx/trx_get_read_view.h>
#include <innodb/memory_check/memory_check.h>
#include <innodb/data_types/dtuple_get_n_fields_cmp.h>
#include <innodb/cmp/cmp_dtuple_is_prefix_of_rec.h>
Expand Down
2 changes: 2 additions & 0 deletions storage/innobase/trx/trx0roll.cc
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ this program; if not, write to the Free Software Foundation, Inc.,

#include <sys/types.h>

#include <innodb/trx_trx/trx_is_temp_rseg_updated.h>
#include <innodb/trx_trx/trx_is_redo_rseg_updated.h>
#include <innodb/memory/mem_heap_zalloc.h>
#include <innodb/mtr/mtr_start.h>
#include <innodb/allocator/ut_malloc_nokey.h>
Expand Down
3 changes: 3 additions & 0 deletions storage/innobase/trx/trx0trx.cc
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ this program; if not, write to the Free Software Foundation, Inc.,
Created 3/26/1996 Heikki Tuuri
*******************************************************/

#include <innodb/trx_trx/trx_is_temp_rseg_updated.h>
#include <innodb/trx_trx/trx_is_redo_rseg_updated.h>
#include <innodb/trx_trx/trx_set_dict_operation.h>
#include <innodb/sync_mutex/mutex_free.h>
#include <innodb/mtr/mtr_start_sync.h>
#include <innodb/mtr/mtr_start.h>
Expand Down
1 change: 1 addition & 0 deletions storage/innobase/trx/trx0undo.cc
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ this program; if not, write to the Free Software Foundation, Inc.,

#include <stddef.h>

#include <innodb/trx_trx/trx_get_dict_operation.h>
#include <innodb/trx_types/trx_usegf_t.h>
#include <innodb/trx_types/trx_upagef_t.h>
#include <innodb/mtr/mtr_x_lock.h>
Expand Down

0 comments on commit 453eb88

Please sign in to comment.