From 14d2861cdd634a22fcd71af5e9f07b4717b433f7 Mon Sep 17 00:00:00 2001 From: Worros Date: Fri, 5 Mar 2010 11:55:00 +0800 Subject: [PATCH] Re-enable 'variance' for sqlite. --- pyfpdb/SQL.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pyfpdb/SQL.py b/pyfpdb/SQL.py index 116f21f5..fc2bc317 100644 --- a/pyfpdb/SQL.py +++ b/pyfpdb/SQL.py @@ -2079,8 +2079,7 @@ class Sql: ,100.0*avg((hp.totalProfit+hp.rake)/(gt.bigBlind+0.0)) AS bb100xr ,avg((hp.totalProfit+hp.rake)/100.0) AS profhndxr ,avg(h.seats+0.0) AS avgseats - /*,variance(hp.totalProfit/100.0) AS variance*/ - ,0.0 AS variance + ,variance(hp.totalProfit/100.0) AS variance from HandsPlayers hp inner join Hands h on (h.id = hp.handId) inner join Gametypes gt on (gt.Id = h.gameTypeId)