Commit af47f002 authored by Leigh Stoller's avatar Leigh Stoller

Fix minor bug in sql query.

parent e80b0260
......@@ -218,8 +218,8 @@ if (1) {
}
$query_result =
DBQueryFatal("select count(*) from aggregate_history ".
"where `type`='Aggregate' and idx<$myindex $clause ",
DBQueryFatal("select count(*) from aggregate_history as a ".
"where `type`='Aggregate' and a.idx<$myindex $clause ",
$dblink);
$row = mysql_fetch_array($query_result);
......
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