From bda6490d670272f43db5f659828f59fdc1ccb9d4 Mon Sep 17 00:00:00 2001
From: vasil <>
Date: Wed, 21 Nov 2007 07:38:56 +0000
Subject: [PATCH] branches/zip:

Convert INFORMATION_SCHEMA tables' names to upper case so that they are
consistent with other INFORMATION_SCHEMA tables.

 mysql> show tables;
 +---------------------------------------+
 | Tables_in_information_schema          |
 +---------------------------------------+
 | CHARACTER_SETS                        |
 | COLLATIONS                            |
 | COLLATION_CHARACTER_SET_APPLICABILITY |
 | COLUMNS                               |
 | COLUMN_PRIVILEGES                     |
 | ENGINES                               |
 | EVENTS                                |
 | FILES                                 |
 | GLOBAL_STATUS                         |
 | GLOBAL_VARIABLES                      |
 | KEY_COLUMN_USAGE                      |
 | PARTITIONS                            |
 | PLUGINS                               |
 | PROCESSLIST                           |
 | REFERENTIAL_CONSTRAINTS               |
 | ROUTINES                              |
 | SCHEMATA                              |
 | SCHEMA_PRIVILEGES                     |
 | SESSION_STATUS                        |
 | SESSION_VARIABLES                     |
 | STATISTICS                            |
 | TABLES                                |
 | TABLE_CONSTRAINTS                     |
 | TABLE_PRIVILEGES                      |
 | TRIGGERS                              |
 | USER_PRIVILEGES                       |
 | VIEWS                                 |
 | innodb_zip_reset                      |
 | innodb_trx                            |
 | innodb_locks                          |
 | innodb_lock_waits                     |
 | innodb_zip                            |
 +---------------------------------------+
---
 handler/i_s.cc | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/handler/i_s.cc b/handler/i_s.cc
index 27e7311a2d9..33126c77226 100644
--- a/handler/i_s.cc
+++ b/handler/i_s.cc
@@ -370,7 +370,7 @@ struct st_mysql_plugin	i_s_innodb_trx =
 
 	/* plugin name */
 	/* const char* */
-	STRUCT_FLD(name, "innodb_trx"),
+	STRUCT_FLD(name, "INNODB_TRX"),
 
 	/* plugin author (for SHOW PLUGINS) */
 	/* const char* */
@@ -616,7 +616,7 @@ struct st_mysql_plugin	i_s_innodb_locks =
 
 	/* plugin name */
 	/* const char* */
-	STRUCT_FLD(name, "innodb_locks"),
+	STRUCT_FLD(name, "INNODB_LOCKS"),
 
 	/* plugin author (for SHOW PLUGINS) */
 	/* const char* */
@@ -766,7 +766,7 @@ struct st_mysql_plugin	i_s_innodb_lock_waits =
 
 	/* plugin name */
 	/* const char* */
-	STRUCT_FLD(name, "innodb_lock_waits"),
+	STRUCT_FLD(name, "INNODB_LOCK_WAITS"),
 
 	/* plugin author (for SHOW PLUGINS) */
 	/* const char* */
@@ -1106,7 +1106,7 @@ struct st_mysql_plugin	i_s_innodb_zip =
 
 	/* plugin name */
 	/* const char* */
-	STRUCT_FLD(name, "innodb_zip"),
+	STRUCT_FLD(name, "INNODB_ZIP"),
 
 	/* plugin author (for SHOW PLUGINS) */
 	/* const char* */
@@ -1155,7 +1155,7 @@ struct st_mysql_plugin	i_s_innodb_zip_reset =
 
 	/* plugin name */
 	/* const char* */
-	STRUCT_FLD(name, "innodb_zip_reset"),
+	STRUCT_FLD(name, "INNODB_ZIP_RESET"),
 
 	/* plugin author (for SHOW PLUGINS) */
 	/* const char* */
-- 
2.30.9