From 67c96c78f5c91ca83c97280de48c572a251578d6 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 22 Dec 2005 01:07:47 -0800 Subject: This patch does the following: 1) Fixes breakage in embedded server build for XMLPath push. 2) Hides PARTITION engine from view. 3) Add ENGINES information schema (and it should now be clear from this patch on how to turn any show command into an information schema). libmysqld/Makefile.am: Fix for embedded server to build. mysql-test/r/information_schema.result: Fix for additional information_schema mysql-test/r/information_schema_db.result: Fix for adding additional engines information schema. mysql-test/t/information_schema.test: Added test to make sure that engines information schema works. sql/ha_partition.cc: Made PARTITION hidden in information schema. sql/sql_parse.cc: Added additional case for engine information schema. sql/sql_show.cc: Code for ENGINES information schema. sql/sql_yacc.yy: Extended grammer to support new ENGINES information schema sql/table.h: Comment on dependency in information schema. libmysqld/item_xmlfunc.cc: New BitKeeper file ``libmysqld/item_xmlfunc.cc'' --- sql/table.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sql/table.h') diff --git a/sql/table.h b/sql/table.h index c4e99ed2a0d..93f8e2942bc 100644 --- a/sql/table.h +++ b/sql/table.h @@ -314,6 +314,9 @@ typedef struct st_foreign_key_info List referenced_fields; } FOREIGN_KEY_INFO; +/* + Make sure that the order of schema_tables and enum_schema_tables are the same. +*/ enum enum_schema_tables { @@ -322,6 +325,7 @@ enum enum_schema_tables SCH_COLLATION_CHARACTER_SET_APPLICABILITY, SCH_COLUMNS, SCH_COLUMN_PRIVILEGES, + SCH_ENGINES, SCH_KEY_COLUMN_USAGE, SCH_OPEN_TABLES, SCH_PROCEDURES, -- cgit v1.2.1