mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-12 23:17:02 +02:00
Timestamping shall use sort by id column
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
@ -130,7 +130,7 @@ function get_hash_values() {
|
||||
else { $stop_id = 1000000000; }
|
||||
}
|
||||
|
||||
$query = $db->query("SELECT id, digest FROM " . TABLE_META . " WHERE id >= ? AND id <= ?", array($start_id, $stop_id));
|
||||
$query = $db->query("SELECT id, digest FROM " . TABLE_META . " WHERE id >= ? AND id <= ? ORDER BY id", array($start_id, $stop_id));
|
||||
|
||||
foreach($query->rows as $q) {
|
||||
$count++;
|
||||
|
Reference in New Issue
Block a user