All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit cd65ef0f authored by Leigh B. Stoller's avatar Leigh B. Stoller

Trying to be too fancy, I think I was losing entries.

parent 9d5430ce
......@@ -164,7 +164,7 @@ DBQueryFatal("lock tables pair_data write");
# Grab all of the new entries and store to the file
#
DBQueryFatal("select * from pair_data ".
"where idx > $lastidx and unixstamp < $cutoffage ".
"where idx > $lastidx ".
"into outfile '${tempfile}.pair_data' ".
"fields terminated by ' '");
......@@ -173,7 +173,7 @@ DBQueryFatal("select * from pair_data ".
#
$query_result =
DBQueryFatal("select idx from pair_data ".
"where idx > $lastidx and unixstamp < $cutoffage " .
"where idx > $lastidx " .
"order by idx desc limit 1");
# Save for later.
($lastidx) = $query_result->fetchrow_array();
......
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