1# Copyright(C) 2014 Kenji Maruyama <mmmaru777@gmail.com>
2# Copyright(C) 2015 Kouhei Sutou <kou@clear-code.com>
3#
4# This library is free software; you can redistribute it and/or
5# modify it under the terms of the GNU Lesser General Public
6# License as published by the Free Software Foundation; either
7# version 2.1 of the License, or (at your option) any later version.
8#
9# This library is distributed in the hope that it will be useful,
10# but WITHOUT ANY WARRANTY; without even the implied warranty of
11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12# Lesser General Public License for more details.
13#
14# You should have received a copy of the GNU Lesser General Public
15# License along with this library; if not, write to the Free Software
16# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1335  USA
17
18--source ../../include/mroonga/have_mariadb.inc
19--source include/not_embedded.inc
20--source ../../include/mroonga/have_mroonga.inc
21--source ../../include/mroonga/load_mroonga_functions.inc
22
23--disable_query_log
24DROP DATABASE test;
25CREATE DATABASE test;
26USE test;
27--enable_query_log
28
29CREATE TABLE tags (
30  id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY
31) DEFAULT CHARSET=utf8;
32
33ALTER TABLE tags ADD COLUMN name VARCHAR(64) FLAGS='COLUMN_VECTOR';
34SHOW CREATE TABLE tags;
35
36SELECT mroonga_command("dump --dump_plugins no");
37
38DROP TABLE tags;
39
40--source ../../include/mroonga/unload_mroonga_functions.inc
41--source ../../include/mroonga/have_mroonga_deinit.inc
42