X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=innodb_show_sys_tables.patch;h=5ad8bebecb870f94b83299a8fbe044c76f890e60;hb=52c09715608dc0a637eaa9d593a338d160df6e0a;hp=2ecc321c0715ae591989479307dc298edb3fcebd;hpb=11822e221c03afb360db1585ec7b558f68f39495;p=packages%2Fmysql.git diff --git a/innodb_show_sys_tables.patch b/innodb_show_sys_tables.patch index 2ecc321..5ad8beb 100644 --- a/innodb_show_sys_tables.patch +++ b/innodb_show_sys_tables.patch @@ -5,10 +5,9 @@ #!!! notice !!! # Any small change to this file in the main branch # should be done or reviewed by the maintainer! -diff -ruN a/storage/innobase/dict/dict0load.c b/storage/innobase/dict/dict0load.c ---- a/storage/innobase/dict/dict0load.c 2011-01-20 07:37:08.000000000 +0900 -+++ b/storage/innobase/dict/dict0load.c 2011-02-14 18:59:40.774162959 +0900 -@@ -437,7 +437,7 @@ +--- a/storage/innobase/dict/dict0load.c ++++ b/storage/innobase/dict/dict0load.c +@@ -442,7 +442,7 @@ } @@ -17,7 +16,7 @@ diff -ruN a/storage/innobase/dict/dict0load.c b/storage/innobase/dict/dict0load. /********************************************************************//** This function parses a SYS_FOREIGN record and populate a dict_foreign_t structure with the information from the record. For detail information -@@ -513,9 +513,9 @@ +@@ -518,9 +518,9 @@ return(NULL); } @@ -29,7 +28,7 @@ diff -ruN a/storage/innobase/dict/dict0load.c b/storage/innobase/dict/dict0load. /********************************************************************//** This function parses a SYS_FOREIGN_COLS record and extract necessary information from the record and return to caller. -@@ -579,7 +579,7 @@ +@@ -584,7 +584,7 @@ return(NULL); } @@ -38,10 +37,9 @@ diff -ruN a/storage/innobase/dict/dict0load.c b/storage/innobase/dict/dict0load. /********************************************************************//** Determine the flags of a table described in SYS_TABLES. -diff -ruN a/storage/innobase/handler/ha_innodb.cc b/storage/innobase/handler/ha_innodb.cc ---- a/storage/innobase/handler/ha_innodb.cc 2010-12-03 15:53:54.615040167 +0900 -+++ b/storage/innobase/handler/ha_innodb.cc 2010-12-03 16:07:26.851357007 +0900 -@@ -11748,7 +11748,14 @@ +--- a/storage/innobase/handler/ha_innodb.cc ++++ b/storage/innobase/handler/ha_innodb.cc +@@ -11950,7 +11950,14 @@ i_s_innodb_cmp, i_s_innodb_cmp_reset, i_s_innodb_cmpmem, @@ -57,9 +55,8 @@ diff -ruN a/storage/innobase/handler/ha_innodb.cc b/storage/innobase/handler/ha_ mysql_declare_plugin_end; /** @brief Initialize the default value of innodb_commit_concurrency. -diff -ruN a/storage/innobase/handler/i_s.cc b/storage/innobase/handler/i_s.cc ---- a/storage/innobase/handler/i_s.cc 2010-12-03 15:49:59.207956807 +0900 -+++ b/storage/innobase/handler/i_s.cc 2010-12-03 17:10:02.719210529 +0900 +--- a/storage/innobase/handler/i_s.cc ++++ b/storage/innobase/handler/i_s.cc @@ -36,9 +36,11 @@ #include @@ -72,7 +69,7 @@ diff -ruN a/storage/innobase/handler/i_s.cc b/storage/innobase/handler/i_s.cc #include "dict0mem.h" #include "dict0types.h" #include "ha_prototypes.h" /* for innobase_convert_name() */ -@@ -1786,6 +1788,1675 @@ +@@ -1812,6 +1814,1703 @@ DBUG_RETURN(0); } @@ -291,7 +288,7 @@ diff -ruN a/storage/innobase/handler/i_s.cc b/storage/innobase/handler/i_s.cc + + /* plugin author (for SHOW PLUGINS) */ + /* const char* */ -+ STRUCT_FLD(author, plugin_author), ++ STRUCT_FLD(author, "Percona"), + + /* general descriptive text (for SHOW PLUGINS) */ + /* const char* */ @@ -321,7 +318,11 @@ diff -ruN a/storage/innobase/handler/i_s.cc b/storage/innobase/handler/i_s.cc + + /* reserved for dependency checking */ + /* void* */ -+ STRUCT_FLD(__reserved1, NULL) ++ STRUCT_FLD(__reserved1, NULL), ++ ++ /* flags for plugin */ ++ /* unsigned long */ ++ STRUCT_FLD(flags, 0UL) +}; + +/* Fields of the dynamic table INFORMATION_SCHEMA.SYS_TABLESTATS */ @@ -588,7 +589,7 @@ diff -ruN a/storage/innobase/handler/i_s.cc b/storage/innobase/handler/i_s.cc + + /* plugin author (for SHOW PLUGINS) */ + /* const char* */ -+ STRUCT_FLD(author, plugin_author), ++ STRUCT_FLD(author, "Percona"), + + /* general descriptive text (for SHOW PLUGINS) */ + /* const char* */ @@ -618,7 +619,11 @@ diff -ruN a/storage/innobase/handler/i_s.cc b/storage/innobase/handler/i_s.cc + + /* reserved for dependency checking */ + /* void* */ -+ STRUCT_FLD(__reserved1, NULL) ++ STRUCT_FLD(__reserved1, NULL), ++ ++ /* flags for plugin */ ++ /* unsigned long */ ++ STRUCT_FLD(flags, 0UL) +}; + +/* Fields of the dynamic table INFORMATION_SCHEMA.SYS_INDEXES */ @@ -834,7 +839,7 @@ diff -ruN a/storage/innobase/handler/i_s.cc b/storage/innobase/handler/i_s.cc + + /* plugin author (for SHOW PLUGINS) */ + /* const char* */ -+ STRUCT_FLD(author, plugin_author), ++ STRUCT_FLD(author, "Percona"), + + /* general descriptive text (for SHOW PLUGINS) */ + /* const char* */ @@ -864,7 +869,11 @@ diff -ruN a/storage/innobase/handler/i_s.cc b/storage/innobase/handler/i_s.cc + + /* reserved for dependency checking */ + /* void* */ -+ STRUCT_FLD(__reserved1, NULL) ++ STRUCT_FLD(__reserved1, NULL), ++ ++ /* flags for plugin */ ++ /* unsigned long */ ++ STRUCT_FLD(flags, 0UL) +}; + +/* Fields of the dynamic table INFORMATION_SCHEMA.SYS_COLUMNS */ @@ -1070,7 +1079,7 @@ diff -ruN a/storage/innobase/handler/i_s.cc b/storage/innobase/handler/i_s.cc + + /* plugin author (for SHOW PLUGINS) */ + /* const char* */ -+ STRUCT_FLD(author, plugin_author), ++ STRUCT_FLD(author, "Percona"), + + /* general descriptive text (for SHOW PLUGINS) */ + /* const char* */ @@ -1100,7 +1109,11 @@ diff -ruN a/storage/innobase/handler/i_s.cc b/storage/innobase/handler/i_s.cc + + /* reserved for dependency checking */ + /* void* */ -+ STRUCT_FLD(__reserved1, NULL) ++ STRUCT_FLD(__reserved1, NULL), ++ ++ /* flags for plugin */ ++ /* unsigned long */ ++ STRUCT_FLD(flags, 0UL) +}; +/* Fields of the dynamic table INFORMATION_SCHEMA.innodb_sys_fields */ +static ST_FIELD_INFO innodb_sys_fields_fields_info[] = @@ -1277,7 +1290,7 @@ diff -ruN a/storage/innobase/handler/i_s.cc b/storage/innobase/handler/i_s.cc + + /* plugin author (for SHOW PLUGINS) */ + /* const char* */ -+ STRUCT_FLD(author, plugin_author), ++ STRUCT_FLD(author, "Percona"), + + /* general descriptive text (for SHOW PLUGINS) */ + /* const char* */ @@ -1307,7 +1320,11 @@ diff -ruN a/storage/innobase/handler/i_s.cc b/storage/innobase/handler/i_s.cc + + /* reserved for dependency checking */ + /* void* */ -+ STRUCT_FLD(__reserved1, NULL) ++ STRUCT_FLD(__reserved1, NULL), ++ ++ /* flags for plugin */ ++ /* unsigned long */ ++ STRUCT_FLD(flags, 0UL) +}; + +/* Fields of the dynamic table INFORMATION_SCHEMA.innodb_sys_foreign */ @@ -1498,7 +1515,7 @@ diff -ruN a/storage/innobase/handler/i_s.cc b/storage/innobase/handler/i_s.cc + + /* plugin author (for SHOW PLUGINS) */ + /* const char* */ -+ STRUCT_FLD(author, plugin_author), ++ STRUCT_FLD(author, "Percona"), + + /* general descriptive text (for SHOW PLUGINS) */ + /* const char* */ @@ -1528,7 +1545,11 @@ diff -ruN a/storage/innobase/handler/i_s.cc b/storage/innobase/handler/i_s.cc + + /* reserved for dependency checking */ + /* void* */ -+ STRUCT_FLD(__reserved1, NULL) ++ STRUCT_FLD(__reserved1, NULL), ++ ++ /* flags for plugin */ ++ /* unsigned long */ ++ STRUCT_FLD(flags, 0UL) +}; +/* Fields of the dynamic table INFORMATION_SCHEMA.innodb_sys_foreign_cols */ +static ST_FIELD_INFO innodb_sys_foreign_cols_fields_info[] = @@ -1712,7 +1733,7 @@ diff -ruN a/storage/innobase/handler/i_s.cc b/storage/innobase/handler/i_s.cc + + /* plugin author (for SHOW PLUGINS) */ + /* const char* */ -+ STRUCT_FLD(author, plugin_author), ++ STRUCT_FLD(author, "Percona"), + + /* general descriptive text (for SHOW PLUGINS) */ + /* const char* */ @@ -1742,16 +1763,19 @@ diff -ruN a/storage/innobase/handler/i_s.cc b/storage/innobase/handler/i_s.cc + + /* reserved for dependency checking */ + /* void* */ -+ STRUCT_FLD(__reserved1, NULL) ++ STRUCT_FLD(__reserved1, NULL), ++ ++ /* flags for plugin */ ++ /* unsigned long */ ++ STRUCT_FLD(flags, 0UL) +}; + /*********************************************************************** */ static ST_FIELD_INFO i_s_innodb_rseg_fields_info[] = -diff -ruN a/storage/innobase/handler/i_s.h b/storage/innobase/handler/i_s.h ---- a/storage/innobase/handler/i_s.h 2010-12-03 15:37:45.540456499 +0900 -+++ b/storage/innobase/handler/i_s.h 2010-12-03 16:08:57.596941207 +0900 -@@ -33,6 +33,13 @@ +--- a/storage/innobase/handler/i_s.h ++++ b/storage/innobase/handler/i_s.h +@@ -35,6 +35,13 @@ extern struct st_mysql_plugin i_s_innodb_cmp_reset; extern struct st_mysql_plugin i_s_innodb_cmpmem; extern struct st_mysql_plugin i_s_innodb_cmpmem_reset;