diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/OptionalModules/UserStatistics/Clients_report.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Region/OptionalModules/UserStatistics/Clients_report.cs b/OpenSim/Region/OptionalModules/UserStatistics/Clients_report.cs index 3f36e32..d3b97b1 100644 --- a/OpenSim/Region/OptionalModules/UserStatistics/Clients_report.cs +++ b/OpenSim/Region/OptionalModules/UserStatistics/Clients_report.cs | |||
@@ -115,7 +115,7 @@ namespace OpenSim.Region.UserStatistics | |||
115 | udata.fps = Convert.ToSingle(sdr["simfps"]); | 115 | udata.fps = Convert.ToSingle(sdr["simfps"]); |
116 | clidata.Add(udata); | 116 | clidata.Add(udata); |
117 | totalclients += udata.count; | 117 | totalclients += udata.count; |
118 | 118 | ||
119 | } | 119 | } |
120 | } | 120 | } |
121 | sdr.Close(); | 121 | sdr.Close(); |
@@ -126,9 +126,9 @@ namespace OpenSim.Region.UserStatistics | |||
126 | sql = | 126 | sql = |
127 | "select region_id, client_version, count(*) as cnt, avg(avg_sim_fps) as simfps from stats_session_data group by region_id, client_version order by region_id, count(*) desc;"; | 127 | "select region_id, client_version, count(*) as cnt, avg(avg_sim_fps) as simfps from stats_session_data group by region_id, client_version order by region_id, count(*) desc;"; |
128 | cmd = new SqliteCommand(sql, dbConn); | 128 | cmd = new SqliteCommand(sql, dbConn); |
129 | 129 | ||
130 | sdr = cmd.ExecuteReader(); | 130 | sdr = cmd.ExecuteReader(); |
131 | 131 | ||
132 | if (sdr.HasRows) | 132 | if (sdr.HasRows) |
133 | { | 133 | { |
134 | while (sdr.Read()) | 134 | while (sdr.Read()) |
@@ -145,10 +145,10 @@ namespace OpenSim.Region.UserStatistics | |||
145 | cmd.Dispose(); | 145 | cmd.Dispose(); |
146 | } | 146 | } |
147 | } | 147 | } |
148 | 148 | ||
149 | foreach (ClientVersionData cvd in cliRegData) | 149 | foreach (ClientVersionData cvd in cliRegData) |
150 | { | 150 | { |
151 | 151 | ||
152 | if (regionTotals.ContainsKey(cvd.region_id)) | 152 | if (regionTotals.ContainsKey(cvd.region_id)) |
153 | { | 153 | { |
154 | int regiontotal = (int)regionTotals[cvd.region_id]; | 154 | int regiontotal = (int)regionTotals[cvd.region_id]; |