summaryrefslogtreecommitdiff
path: root/storage/mroonga/mysql-test/mroonga/storage/r/create_table_column_groonga_type_parameter.result
blob: 89e28aea6cf6cef1ea9ff75d507a95bbc8869f25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
CREATE TABLE tags (
name VARCHAR(64) PRIMARY KEY
) DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
CREATE TABLE bugs (
id INT UNSIGNED PRIMARY KEY,
tag VARCHAR(64) GROONGA_TYPE='tags'
) DEFAULT CHARSET=utf8;
SHOW CREATE TABLE bugs;
Table	Create Table
bugs	CREATE TABLE `bugs` (
  `id` int(10) unsigned NOT NULL,
  `tag` varchar(64) DEFAULT NULL `GROONGA_TYPE`='tags',
  PRIMARY KEY (`id`)
) ENGINE=Mroonga DEFAULT CHARSET=utf8
SELECT mroonga_command("dump --dump_plugins no");
mroonga_command("dump --dump_plugins no")
table_create bugs TABLE_PAT_KEY UInt32
column_create bugs id COLUMN_SCALAR UInt32

table_create mroonga_operations TABLE_NO_KEY
column_create mroonga_operations record COLUMN_SCALAR UInt32
column_create mroonga_operations table COLUMN_SCALAR ShortText
column_create mroonga_operations type COLUMN_SCALAR ShortText

table_create tags TABLE_PAT_KEY ShortText
column_create tags name COLUMN_SCALAR ShortText

column_create bugs tag COLUMN_SCALAR tags
DROP TABLE bugs;
DROP TABLE tags;