Commit 361701d0 authored by Shashi Guruprasad's avatar Shashi Guruprasad

Fixed the virt_simnodes_attributes table to have the correct PRIMARY

keys. Previosly, I had based the create definition on the virt_nodes
table. Unfortunately, that turned out to be incorrect.
parent 91080081
......@@ -1638,7 +1638,7 @@ CREATE TABLE virt_simnode_attributes (
vname varchar(32) NOT NULL default '',
nodeweight smallint(5) unsigned NOT NULL default '1',
eventrate int(11) unsigned NOT NULL default '0',
KEY pid (pid,eid,vname)
PRIMARY KEY (pid,eid,vname)
) TYPE=MyISAM;
--
......
......@@ -1215,3 +1215,15 @@ last_net_act,last_cpu_act,last_ext_act);
alter table nseconfigs modify nseconfig mediumtext;
alter table nsfiles modify nsfile mediumtext;
1.215 Fixed the PRIMARY KEYs for virt_simnode_attributes by
dropping the table and re-creating it correctly.
create table virt_simnode_attributes ( \
pid varchar(12) NOT NULL default '', \
eid varchar(32) NOT NULL default '', \
vname varchar(32) NOT NULL default '', \
nodeweight smallint(5) unsigned not null default '1', \
eventrate int(11) unsigned not null default '0', \
PRIMARY KEY (pid,eid,vname));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment