Commit 3e0890fe authored by Russ Fish's avatar Russ Fish

Found in release testing: we get "Could not find an unused unix_gid" when...

Found in release testing: we get "Could not find an unused unix_gid" when creating the first project.  Change a > to a >= .
parent 0892f4f9
......@@ -229,7 +229,7 @@ sub Create($$$$$$)
DBQueryWarn("select g.unix_gid + 1 as start from groups as g ".
"left outer join groups as r on ".
" g.unix_gid + 1 = r.unix_gid ".
"where g.unix_gid>$min_gid and ".
"where g.unix_gid>=$min_gid and ".
" g.unix_gid<50000 and ".
" r.unix_gid is null limit 1");
......
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