null+****@clear*****
null+****@clear*****
2010年 9月 16日 (木) 16:59:41 JST
Tetsuro IKEDA 2010-09-16 07:59:41 +0000 (Thu, 16 Sep 2010)
New Revision: 172fae7603f3219cc1353226e2380c1b2c376166
Log:
added SQL test case for information_schema plugin.
Added files:
test/sql/r/information_schema.result
test/sql/t/information_schema.test
Added: test/sql/r/information_schema.result (+17 -0) 100644
===================================================================
--- /dev/null
+++ test/sql/r/information_schema.result 2010-09-16 07:59:41 +0000 (472442b)
@@ -0,0 +1,17 @@
+install plugin groonga soname 'ha_groonga.so';
+install plugin groonga_stats soname 'ha_groonga.so';
+set storage_engine=groonga;
+drop table if exists t1;
+show plugins;
+Name Status Type Library License
+binlog ACTIVE STORAGE ENGINE NULL GPL
+partition ACTIVE STORAGE ENGINE NULL GPL
+CSV ACTIVE STORAGE ENGINE NULL GPL
+MEMORY ACTIVE STORAGE ENGINE NULL GPL
+InnoDB DISABLED STORAGE ENGINE NULL GPL
+MyISAM ACTIVE STORAGE ENGINE NULL GPL
+MRG_MYISAM ACTIVE STORAGE ENGINE NULL GPL
+groonga ACTIVE STORAGE ENGINE ha_groonga.so PROPRIETARY
+groonga_stats ACTIVE INFORMATION SCHEMA ha_groonga.so PROPRIETARY
+uninstall plugin groonga_stats;
+uninstall plugin groonga;
Added: test/sql/t/information_schema.test (+29 -0) 100644
===================================================================
--- /dev/null
+++ test/sql/t/information_schema.test 2010-09-16 07:59:41 +0000 (5857673)
@@ -0,0 +1,29 @@
+# Copyright(C) 2010 Tetsuro IKEDA
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+--disable_warnings
+install plugin groonga soname 'ha_groonga.so';
+install plugin groonga_stats soname 'ha_groonga.so';
+set storage_engine=groonga;
+drop table if exists t1;
+--enable_warnings
+
+show plugins;
+
+--disable_warnings
+uninstall plugin groonga_stats;
+uninstall plugin groonga;
+--enable_warnings