2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-13 05:06:35 +00:00

statistics2.cgi: for debug

git-svn-id: https://svn.fhem.de/fhem/trunk@14478 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
betateilchen 2017-06-08 15:16:09 +00:00
parent bbebc90721
commit 1f53ce7d85

View File

@ -149,7 +149,8 @@ sub doAggregate() {
my $nodesTotal = $dbInfo->{'submissionsTotal'}; my $nodesTotal = $dbInfo->{'submissionsTotal'};
my $nodes12 = 0; my $nodes12 = 0;
$sql = q(SELECT geo,json FROM jsonNodes WHERE lastSeen > $limit AND uniqueID <> 'databaseInfo'); $sql = "SELECT geo,json FROM jsonNodes WHERE uniqueID <> 'databaseInfo' ";
$sql .= "AND geo <> '' AND json <> '' and lastseen > $limit";
$sth = $dbh->prepare( $sql ); $sth = $dbh->prepare( $sql );
$sth->execute(); $sth->execute();