#At file:///home/marko/innobase/dev/mysql2a/5.1-innodb/ based on revid:jimmy.yang@stripped6hkgpyskpu
3686 Marko Mäkelä 2011-01-17
Non-functional changes.
Remove the unused data type dict_cluster_t.
Remove a bogus comment about latching order.
modified:
storage/innobase/include/dict0types.h
storage/innobase/include/trx0rseg.h
storage/innodb_plugin/include/dict0types.h
storage/innodb_plugin/include/trx0rseg.h
=== modified file 'storage/innobase/include/dict0types.h'
--- a/storage/innobase/include/dict0types.h revid:jimmy.yang@stripped0114170228-788l136hkgpyskpu
+++ b/storage/innobase/include/dict0types.h revid:marko.makela@stripped48-telkjs01t75kj9mn
@@ -16,11 +16,6 @@ typedef struct dict_index_struct dict_in
typedef struct dict_table_struct dict_table_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 tab_node_struct tab_node_t;
=== modified file 'storage/innobase/include/trx0rseg.h'
--- a/storage/innobase/include/trx0rseg.h revid:jimmy.yang@stripped
+++ b/storage/innobase/include/trx0rseg.h revid:marko.makela@oracle.com-20110117120648-telkjs01t75kj9mn
@@ -121,9 +121,7 @@ struct trx_rseg_struct{
ulint id; /* rollback segment id == the index of
its slot in the trx system file copy */
mutex_t mutex; /* mutex protecting the fields in this
- struct except id; NOTE that the latching
- order must always be kernel mutex ->
- rseg mutex */
+ struct except id, which is constant */
ulint space; /* space where the rollback segment is
header is placed */
ulint page_no;/* page number of the rollback segment
=== modified file 'storage/innodb_plugin/include/dict0types.h'
--- a/storage/innodb_plugin/include/dict0types.h revid:jimmy.yang@stripped136hkgpyskpu
+++ b/storage/innodb_plugin/include/dict0types.h revid:marko.makela@stripped1t75kj9mn
@@ -33,11 +33,6 @@ typedef struct dict_index_struct dict_in
typedef struct dict_table_struct dict_table_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 tab_node_struct tab_node_t;
=== modified file 'storage/innodb_plugin/include/trx0rseg.h'
--- a/storage/innodb_plugin/include/trx0rseg.h revid:jimmy.yang@stripped
+++ b/storage/innodb_plugin/include/trx0rseg.h revid:marko.makela@oracle.com-20110117120648-telkjs01t75kj9mn
@@ -135,9 +135,7 @@ struct trx_rseg_struct{
ulint id; /*!< rollback segment id == the index of
its slot in the trx system file copy */
mutex_t mutex; /*!< mutex protecting the fields in this
- struct except id; NOTE that the latching
- order must always be kernel mutex ->
- rseg mutex */
+ struct except id, which is constant */
ulint space; /*!< space where the rollback segment is
header is placed */
ulint zip_size;/* compressed page size of space
Attachment: [text/bzr-bundle] bzr/marko.makela@oracle.com-20110117120648-telkjs01t75kj9mn.bundle
| Thread |
|---|
| • bzr commit into mysql-5.1-innodb branch (marko.makela:3686) | marko.makela | 17 Jan |