Navigation Menu

Skip to content

Commit

Permalink
added SQL test case for information_schema plugin.
Browse files Browse the repository at this point in the history
  • Loading branch information
ikdttr committed Sep 16, 2010
1 parent 6d97261 commit 172fae7
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
17 changes: 17 additions & 0 deletions test/sql/r/information_schema.result
@@ -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;
29 changes: 29 additions & 0 deletions test/sql/t/information_schema.test
@@ -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

0 comments on commit 172fae7

Please sign in to comment.