Commit 1dddbe50 authored by Marko Mäkelä's avatar Marko Mäkelä

Non-functional changes.

Remove the unused data type dict_cluster_t.
Remove a bogus comment about latching order.
parent 879dc785
...@@ -16,11 +16,6 @@ typedef struct dict_index_struct dict_index_t; ...@@ -16,11 +16,6 @@ typedef struct dict_index_struct dict_index_t;
typedef struct dict_table_struct dict_table_t; typedef struct dict_table_struct dict_table_t;
typedef struct dict_foreign_struct dict_foreign_t; typedef struct dict_foreign_struct dict_foreign_t;
/* A cluster object is a table object with the type field set to
DICT_CLUSTERED */
typedef dict_table_t dict_cluster_t;
typedef struct ind_node_struct ind_node_t; typedef struct ind_node_struct ind_node_t;
typedef struct tab_node_struct tab_node_t; typedef struct tab_node_struct tab_node_t;
......
...@@ -121,9 +121,7 @@ struct trx_rseg_struct{ ...@@ -121,9 +121,7 @@ struct trx_rseg_struct{
ulint id; /* rollback segment id == the index of ulint id; /* rollback segment id == the index of
its slot in the trx system file copy */ its slot in the trx system file copy */
mutex_t mutex; /* mutex protecting the fields in this mutex_t mutex; /* mutex protecting the fields in this
struct except id; NOTE that the latching struct except id, which is constant */
order must always be kernel mutex ->
rseg mutex */
ulint space; /* space where the rollback segment is ulint space; /* space where the rollback segment is
header is placed */ header is placed */
ulint page_no;/* page number of the rollback segment ulint page_no;/* page number of the rollback segment
......
...@@ -33,11 +33,6 @@ typedef struct dict_index_struct dict_index_t; ...@@ -33,11 +33,6 @@ typedef struct dict_index_struct dict_index_t;
typedef struct dict_table_struct dict_table_t; typedef struct dict_table_struct dict_table_t;
typedef struct dict_foreign_struct dict_foreign_t; typedef struct dict_foreign_struct dict_foreign_t;
/* A cluster object is a table object with the type field set to
DICT_CLUSTERED */
typedef dict_table_t dict_cluster_t;
typedef struct ind_node_struct ind_node_t; typedef struct ind_node_struct ind_node_t;
typedef struct tab_node_struct tab_node_t; typedef struct tab_node_struct tab_node_t;
......
...@@ -135,9 +135,7 @@ struct trx_rseg_struct{ ...@@ -135,9 +135,7 @@ struct trx_rseg_struct{
ulint id; /*!< rollback segment id == the index of ulint id; /*!< rollback segment id == the index of
its slot in the trx system file copy */ its slot in the trx system file copy */
mutex_t mutex; /*!< mutex protecting the fields in this mutex_t mutex; /*!< mutex protecting the fields in this
struct except id; NOTE that the latching struct except id, which is constant */
order must always be kernel mutex ->
rseg mutex */
ulint space; /*!< space where the rollback segment is ulint space; /*!< space where the rollback segment is
header is placed */ header is placed */
ulint zip_size;/* compressed page size of space ulint zip_size;/* compressed page size of space
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment