Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Thursday, October 15, 2026

Diff for phpWebLogAnalyzer/sql/queries/mysql.sql between version 1.5 and 1.6

version 1.5, 2002/09/11 15:27:53 version 1.6, 2002/09/22 22:44:30
Line 155  weblog_http_hosts.id group by weblog_htt
Line 155  weblog_http_hosts.id group by weblog_htt
 select session_id, count(distinct ifnull(ident_username_id,0)) as cnt from  select session_id, count(distinct ifnull(ident_username_id,0)) as cnt from
 weblog_accesses group by session_id having cnt > 1;  weblog_accesses group by session_id having cnt > 1;
   
   -- session list print
   
   select min(datetime) as begin_time, session_id as sID,
   weblog_remote_hosts.value as remote_host,
   weblog_remote_addrs.value as remote_addr,
   weblog_http_hosts.value as http_host
   from weblog_accesses, weblog_remote_hosts, weblog_remote_addrs, weblog_http_hosts
   where weblog_accesses.remote_host_id=weblog_remote_hosts.id
   and weblog_accesses.remote_addr_id=weblog_remote_addrs.id
   and weblog_accesses.http_host_id=weblog_http_hosts.id
   and weblog_http_hosts.value like '%'
   group by session_id, http_host
   order by begin_time desc
   limit 30;
   
 -- SYSTEM: quick session print  -- SYSTEM: quick session print
   
 select weblog_accesses.id, session_id, datetime, http_host_id hh,  select weblog_accesses.id, session_id, datetime, http_host_id hh,
 remote_addr_id as ra, http_user_agent_id ua_id, weblog_ident_usernames.value  remote_addr_id as ra, http_user_agent_id ua_id, weblog_ident_usernames.value as idnt
 from weblog_accesses left join weblog_ident_usernames on  from weblog_accesses left join weblog_ident_usernames on
 weblog_accesses.ident_username_id = weblog_ident_usernames.id where session_id  weblog_accesses.ident_username_id = weblog_ident_usernames.id where session_id
 = <SID>;  = <SID>;

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top