From 64e1b203c104b2955e63fab4fc03be1b7d760030 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com> Date: Mon, 26 Feb 2007 15:57:44 +0000 Subject: [PATCH] add z_show_index method git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13035 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../z_show_index.catalog_keys.xml | 5 + .../erp5_mysql_innodb/z_show_index.xml | 356 ++++++++++++++++++ .../erp5_mysql_innodb_catalog/bt/revision | 2 +- .../bt/template_catalog_method_id_list | 1 + 4 files changed, 363 insertions(+), 1 deletion(-) create mode 100644 product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_show_index.catalog_keys.xml create mode 100644 product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_show_index.xml diff --git a/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_show_index.catalog_keys.xml b/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_show_index.catalog_keys.xml new file mode 100644 index 0000000000..de3c5c5987 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_show_index.catalog_keys.xml @@ -0,0 +1,5 @@ +<catalog_method> + <item key="sql_catalog_index" type="int"> + <value>1</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_show_index.xml b/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_show_index.xml new file mode 100644 index 0000000000..d3ea8fa237 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_show_index.xml @@ -0,0 +1,356 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>table</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>table</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_col</string> </key> + <value> + <list> + <dictionary> + <item> + <key> <string>name</string> </key> + <value> <string>Table</string> </value> + </item> + <item> + <key> <string>null</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>t</string> </value> + </item> + <item> + <key> <string>width</string> </key> + <value> <int>7</int> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>name</string> </key> + <value> <string>Non_unique</string> </value> + </item> + <item> + <key> <string>null</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>l</string> </value> + </item> + <item> + <key> <string>width</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>name</string> </key> + <value> <string>Key_name</string> </value> + </item> + <item> + <key> <string>null</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>t</string> </value> + </item> + <item> + <key> <string>width</string> </key> + <value> <int>22</int> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>name</string> </key> + <value> <string>Seq_in_index</string> </value> + </item> + <item> + <key> <string>null</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>l</string> </value> + </item> + <item> + <key> <string>width</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>name</string> </key> + <value> <string>Column_name</string> </value> + </item> + <item> + <key> <string>null</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>t</string> </value> + </item> + <item> + <key> <string>width</string> </key> + <value> <int>22</int> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>name</string> </key> + <value> <string>Collation</string> </value> + </item> + <item> + <key> <string>null</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>t</string> </value> + </item> + <item> + <key> <string>width</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>name</string> </key> + <value> <string>Cardinality</string> </value> + </item> + <item> + <key> <string>null</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>l</string> </value> + </item> + <item> + <key> <string>width</string> </key> + <value> <int>5</int> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>name</string> </key> + <value> <string>Sub_part</string> </value> + </item> + <item> + <key> <string>null</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>l</string> </value> + </item> + <item> + <key> <string>width</string> </key> + <value> <int>0</int> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>name</string> </key> + <value> <string>Packed</string> </value> + </item> + <item> + <key> <string>null</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>t</string> </value> + </item> + <item> + <key> <string>width</string> </key> + <value> <int>0</int> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>name</string> </key> + <value> <string>Null</string> </value> + </item> + <item> + <key> <string>null</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>t</string> </value> + </item> + <item> + <key> <string>width</string> </key> + <value> <int>3</int> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>name</string> </key> + <value> <string>Index_type</string> </value> + </item> + <item> + <key> <string>null</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>t</string> </value> + </item> + <item> + <key> <string>width</string> </key> + <value> <int>5</int> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>name</string> </key> + <value> <string>Comment</string> </value> + </item> + <item> + <key> <string>null</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>t</string> </value> + </item> + <item> + <key> <string>width</string> </key> + <value> <int>0</int> </value> + </item> + </dictionary> + </list> + </value> + </item> + <item> + <key> <string>_owner</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>table</string> </value> + </item> + <item> + <key> <string>connection_id</string> </key> + <value> <string>erp5_sql_connection</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>z_show_index</string> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +show index from <dtml-var table> + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +show index from <dtml-var table> + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/bt/revision b/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/bt/revision index 1758dddcce..3e932fe8f1 100644 --- a/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/bt/revision +++ b/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/bt/revision @@ -1 +1 @@ -32 \ No newline at end of file +34 \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/bt/template_catalog_method_id_list b/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/bt/template_catalog_method_id_list index 4aa5bff047..80b1de9f60 100644 --- a/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/bt/template_catalog_method_id_list +++ b/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/bt/template_catalog_method_id_list @@ -101,6 +101,7 @@ erp5_mysql_innodb/z_search_results erp5_mysql_innodb/z_search_security erp5_mysql_innodb/z_show_category_columns erp5_mysql_innodb/z_show_columns +erp5_mysql_innodb/z_show_index erp5_mysql_innodb/z_show_tables erp5_mysql_innodb/z_uncatalog_delivery erp5_mysql_innodb/z_uncatalog_object -- 2.30.9