Commit 5d736c2a authored by Leigh Stoller's avatar Leigh Stoller

I never should have used unsigned values for counts. Bad dog, Bad Dog.

parent 955ba600
<?php <?php
# #
# Copyright (c) 2000-2007 University of Utah and the Flux Group. # Copyright (c) 2000-2016 University of Utah and the Flux Group.
# #
# {{{EMULAB-LICENSE # {{{EMULAB-LICENSE
# #
...@@ -127,7 +127,8 @@ $query_result = ...@@ -127,7 +127,8 @@ $query_result =
" from experiments as e ". " from experiments as e ".
"left join experiment_stats as s on s.exptidx=e.idx ". "left join experiment_stats as s on s.exptidx=e.idx ".
"left join experiment_resources as rs on rs.idx=s.rsrcidx ". "left join experiment_resources as rs on rs.idx=s.rsrcidx ".
"where rs.pnodes-rs.delaynodes>2 and ". "where (cast(rs.pnodes as signed) - ".
" cast(rs.delaynodes as signed)) > 2 and ".
" rs.thumbnail is not null and ". " rs.thumbnail is not null and ".
" e.state='" . $TB_EXPTSTATE_SWAPPED . "' " . " e.state='" . $TB_EXPTSTATE_SWAPPED . "' " .
"order by s.swapout_last desc ". "order by s.swapout_last desc ".
......
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