From 39081f84a402aebb52d98a43e4675c90135cea9b Mon Sep 17 00:00:00 2001
From: Alexander Sulfrian <alexander@sulfrian.net>
Date: Wed, 7 Dec 2011 19:06:52 +0100
Subject: added sql files

---
 sql/client_delete_prune.sql | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 sql/client_delete_prune.sql

(limited to 'sql/client_delete_prune.sql')

diff --git a/sql/client_delete_prune.sql b/sql/client_delete_prune.sql
new file mode 100644
index 0000000..81ae6da
--- /dev/null
+++ b/sql/client_delete_prune.sql
@@ -0,0 +1 @@
+select * from clients where not exists (select id1 from group_server_to_client where id1= clients.client_id) and client_lastconnected < :timestamp: and server_id != 0 limit 100;
\ No newline at end of file
-- 
cgit v1.2.3

