Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
24c394cb
Commit
24c394cb
authored
Sep 26, 2003
by
Robert Ricci
Browse files
Hah, I had the primary key for virt_node_desires wrong - it should allow
multiple desires for each vnode.
parent
b32534b2
Changes
2
Hide whitespace changes
Inline
Side-by-side
sql/database-create.sql
View file @
24c394cb
...
...
@@ -1506,7 +1506,7 @@ CREATE TABLE virt_node_desires (
vname
varchar
(
32
)
NOT
NULL
default
''
,
desire
varchar
(
30
)
NOT
NULL
default
''
,
weight
float
default
NULL
,
PRIMARY
KEY
(
pid
,
eid
,
vname
)
PRIMARY
KEY
(
pid
,
eid
,
vname
,
desire
)
)
TYPE
=
MyISAM
;
--
...
...
sql/database-migrate.txt
View file @
24c394cb
...
...
@@ -992,3 +992,9 @@ last_net_act,last_cpu_act,last_ext_act);
eid varchar(32) not null, vname varchar(32) not null, \
desire varchar(30) not null, weight float, \
primary key(pid,eid,vname));
1.189: Hah, I had the primary key for virt_node_desires wrong - it should
allow multiple desires for each vnode:
alter table virt_node_desires drop primary key;
alter table virt_node_desires add primary key(pid,eid,vname,desire);
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment