mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-05 20:45:49 +01:00
improve messages display
This commit is contained in:
parent
ae2b6205bd
commit
72b4b02c20
1 changed files with 2 additions and 2 deletions
|
@ -30,8 +30,8 @@ echo "SELECT dead,connname,cid,room,lang,clntVers,ntotal,nperdevice,seeds,ack,ns
|
|||
"FROM games $QUERY ORDER BY NOT dead, connname LIMIT $LIMIT;" \
|
||||
| psql xwgames
|
||||
|
||||
echo "SELECT id, connname, hid, msglen "\
|
||||
echo "SELECT connname, hid, count(*), sum(msglen) "\
|
||||
"FROM msgs where connname in (SELECT connname from games where not games.dead group by connname)" \
|
||||
"order by connname, id;" \
|
||||
"GROUP BY connname, hid ORDER BY connname;" \
|
||||
| psql xwgames
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue