]> de.git.xonotic.org Git - xonotic/xonstatdb.git/commitdiff
Merge branch 'master' of github.com:antzucaro/xonstatdb
authorAnt Zucaro <azucaro@gmail.com>
Wed, 16 Jan 2013 02:28:35 +0000 (21:28 -0500)
committerAnt Zucaro <azucaro@gmail.com>
Wed, 16 Jan 2013 02:28:35 +0000 (21:28 -0500)
scripts/update_elos.sql

index 1665dd269ad2ca9b0a24a0c2c0fc6a5f7030ed4d..087f21361e5f5f46ff581c2c15aa9cd23c54e0a5 100644 (file)
@@ -1,5 +1,5 @@
 begin;
   update player_elos
-  set elo=least(elo-1, 100.00)
+  set elo=greatest(elo-1, 100.00)
   where update_dt < (current_timestamp at time zone 'UTC' - interval '30 days');
 end;