summaryrefslogtreecommitdiff
path: root/storage/oqgraph/mysql-test/oqgraph/connections_mdev5748.result
blob: 3b71112df9026e7eafc6c33ac68d5afe5f9893b5 (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
31
32
33
34
35
connect  con1,localhost,root,,;
CREATE TABLE oq_backing (
origid INT UNSIGNED NOT NULL,
destid INT UNSIGNED NOT NULL,
weight DOUBLE NOT NULL,
PRIMARY KEY (origid, destid),
KEY (destid)
);
CREATE TABLE oq_table (
latch VARCHAR(32) NULL,
origid BIGINT UNSIGNED NULL,
destid BIGINT UNSIGNED NULL,
weight DOUBLE NULL,
seq BIGINT UNSIGNED NULL,
linkid BIGINT UNSIGNED NULL,
KEY (latch, origid, destid) USING HASH,
KEY (latch, destid, origid) USING HASH
) ENGINE=OQGRAPH
data_table='oq_backing' origid='origid' destid='destid' weight='weight';
flush tables;
show fields in oq_table;
Field	Type	Null	Key	Default	Extra
latch	varchar(32)	YES	MUL	NULL	
origid	bigint(20) unsigned	YES		NULL	
destid	bigint(20) unsigned	YES		NULL	
weight	double	YES		NULL	
seq	bigint(20) unsigned	YES		NULL	
linkid	bigint(20) unsigned	YES		NULL	
disconnect con1;
connection default;
show tables;
Tables_in_test
oq_backing
oq_table
drop table oq_table, oq_backing;