Commit 7ae33f71 authored by Leigh Stoller's avatar Leigh Stoller

Minor table locking fix.

parent 43708c91
......@@ -824,7 +824,8 @@ sub NewVersion($$$$)
#
DBQueryWarn("lock tables images write, image_versions write, ".
" os_info write, os_info_versions write, ".
" emulab_indicies write, osidtoimageid read")
" emulab_indicies write, osidtoimageid read, ".
" node_types read")
or return undef;
my $query_result =
......@@ -1970,7 +1971,6 @@ sub TypeList($;$)
# anything found in the osidtoimageid.
#
if ($self->architecture()) {
$query_result =
DBQueryWarn("select distinct node_types.type from images ".
# The image architecture could be a short list.
......
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