summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-08-11 10:04:41 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2017-08-11 10:04:41 +0200
commitcc1efe59f3af339307cf6ce2f63c798ba94df570 (patch)
tree59e942866ba923b05de6f12f8b9f8a8df511e19f
parentd5ad2473adaa11fd8da2edf3e30d5a20a4831e2a (diff)
downloadcruncher-cc1efe59f3af339307cf6ce2f63c798ba94df570.tar.gz
cruncher-cc1efe59f3af339307cf6ce2f63c798ba94df570.zip
fix typo
-rw-r--r--crunch_player.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/crunch_player.sql b/crunch_player.sql
index 4e449f3..ea10d95 100644
--- a/crunch_player.sql
+++ b/crunch_player.sql
@@ -50,7 +50,7 @@ group by p.player_api_id, s.id, f.id, h.id, gm.id, r.id
order by p.id
on duplicate key update
-updated_at = case when values(updated_at) > updated_a then values(updated_at) else updated_at end,
+updated_at = case when values(updated_at) > updated_at then values(updated_at) else updated_at end,
played = played + values(played),
wins = wins + values(wins),
trueskill_max = case when values(trueskill_max) > trueskill_max then values(trueskill_max) else trueskill_max end,