Commit c8ceb583 authored by Leigh B Stoller's avatar Leigh B Stoller

BUG FIX: Hmm, left out the table_regex entry for new isswitch slot

of the node_types table. How did I do that?
parent c048acc5
......@@ -860,6 +860,7 @@ REPLACE INTO table_regex VALUES ('node_types','node_type','text','regex','^[-\\w
REPLACE INTO table_regex VALUES ('node_types','class','text','regex','^[\\w]+$',1,30,NULL);
REPLACE INTO table_regex VALUES ('node_types','isvirtnode','text','redirect','default:boolean',0,0,NULL);
REPLACE INTO table_regex VALUES ('node_types','isjailed','text','redirect','default:boolean',0,0,NULL);
REPLACE INTO table_regex VALUES ('node_types','isswitch','text','redirect','default:boolean',0,0,NULL);
REPLACE INTO table_regex VALUES ('node_types','isdynamic','text','redirect','default:boolean',0,0,NULL);
REPLACE INTO table_regex VALUES ('node_types','isremotenode','text','redirect','default:boolean',0,0,NULL);
REPLACE INTO table_regex VALUES ('node_types','issubnode','text','redirect','default:boolean',0,0,NULL);
......
......@@ -45,6 +45,10 @@ sub DoUpdate($$$)
" 'forwarding_protocols','ethernet','string' ".
"from node_types where isswitch=1");
DBQueryFatal("replace into table_regex values ".
" ('node_types','isswitch','text','redirect',".
" 'default:boolean',0,0,NULL)");
# Add another missing regex entry for os_info table.
DBQueryFatal("replace into table_regex values ".
" ('os_info','mfs','int','redirect',".
......
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