Commit a3c1ee6d authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Minor fix to previous revision.

parent 1ef73ff2
...@@ -845,7 +845,7 @@ REPLACE INTO table_regex VALUES ('virt_node_attributes','pid','text','redirect', ...@@ -845,7 +845,7 @@ REPLACE INTO table_regex VALUES ('virt_node_attributes','pid','text','redirect',
REPLACE INTO table_regex VALUES ('virt_node_attributes','eid','text','redirect','experiments:eid',0,0,NULL); REPLACE INTO table_regex VALUES ('virt_node_attributes','eid','text','redirect','experiments:eid',0,0,NULL);
REPLACE INTO table_regex VALUES ('virt_node_attributes','vname','text','redirect','virt_nodes:vname',0,0,NULL); REPLACE INTO table_regex VALUES ('virt_node_attributes','vname','text','redirect','virt_nodes:vname',0,0,NULL);
REPLACE INTO table_regex VALUES ('virt_node_attributes','attrkey','text','regex','^[-\\w]+$',1,64,NULL); REPLACE INTO table_regex VALUES ('virt_node_attributes','attrkey','text','regex','^[-\\w]+$',1,64,NULL);
REPLACE INTO table_regex VALUES ('virt_node_attributes','attrvalue','text','regex','^[-\\w\\.+,\\s]+$',0,255,NULL); REPLACE INTO table_regex VALUES ('virt_node_attributes','attrvalue','text','regex','^[-\\w\\.\\+,\\s\\/:]+$',0,255,NULL);
REPLACE INTO table_regex VALUES ('virt_node_desires','pid','text','redirect','projects:pid',0,0,NULL); REPLACE INTO table_regex VALUES ('virt_node_desires','pid','text','redirect','projects:pid',0,0,NULL);
REPLACE INTO table_regex VALUES ('virt_node_desires','eid','text','redirect','experiments:eid',0,0,NULL); REPLACE INTO table_regex VALUES ('virt_node_desires','eid','text','redirect','experiments:eid',0,0,NULL);
......
...@@ -47,7 +47,7 @@ sub DoUpdate($$$) ...@@ -47,7 +47,7 @@ sub DoUpdate($$$)
DBQueryFatal("REPLACE INTO table_regex VALUES ". DBQueryFatal("REPLACE INTO table_regex VALUES ".
"('virt_node_attributes','attrvalue','text','regex', ". "('virt_node_attributes','attrvalue','text','regex', ".
" '^[-\\\\w\\\\.+,\\\\s]+\$',0,255,NULL)"); " '^[-\\\\w\\\\.\\\\+,\\\\s\\\\/:]+$',0,255,NULL)");
return 0; return 0;
} }
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