[Groonga-mysql-commit] mroonga/mroonga [master] fixed test case "information_schema". now compatible with mysql-5.1 and 5.5.

Back to archive index

null+****@clear***** null+****@clear*****
2010年 11月 2日 (火) 19:41:08 JST


Tetsuro IKEDA	2010-11-02 10:41:08 +0000 (Tue, 02 Nov 2010)

  New Revision: 6009dee663a6984373d70b23085d359a718450dc

  Log:
    fixed test case "information_schema". now compatible with mysql-5.1 and 5.5.

  Modified files:
    test/sql/r/information_schema.result
    test/sql/t/information_schema.test

  Modified: test/sql/r/information_schema.result (+3 -11)
===================================================================
--- test/sql/r/information_schema.result    2010-11-02 10:40:33 +0000 (472442b)
+++ test/sql/r/information_schema.result    2010-11-02 10:41:08 +0000 (f9d2713)
@@ -2,16 +2,8 @@ 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
+select count(*) from information_schema.plugins where plugin_name = "groonga";
+count(*)
+1
 uninstall plugin groonga_stats;
 uninstall plugin groonga;

  Modified: test/sql/t/information_schema.test (+1 -1)
===================================================================
--- test/sql/t/information_schema.test    2010-11-02 10:40:33 +0000 (5857673)
+++ test/sql/t/information_schema.test    2010-11-02 10:41:08 +0000 (f42f2ff)
@@ -21,7 +21,7 @@ set storage_engine=groonga;
 drop table if exists t1;
 --enable_warnings
 
-show plugins;
+select count(*) from information_schema.plugins where plugin_name = "groonga";
 
 --disable_warnings
 uninstall plugin groonga_stats;




Groonga-mysql-commit メーリングリストの案内
Back to archive index