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/server_update_traffic_stats.sql | 6 ++++++
 1 file changed, 6 insertions(+)
 create mode 100644 sql/server_update_traffic_stats.sql

(limited to 'sql/server_update_traffic_stats.sql')

diff --git a/sql/server_update_traffic_stats.sql b/sql/server_update_traffic_stats.sql
new file mode 100644
index 0000000..ef6994a
--- /dev/null
+++ b/sql/server_update_traffic_stats.sql
@@ -0,0 +1,6 @@
+update servers set 
+ server_month_upload= server_month_upload + :upload:,
+ server_month_download= server_month_download + :download:,
+ server_total_upload= server_total_upload + :upload:,
+ server_total_download= server_total_download + :download:
+ where server_id=:server_id:;
\ No newline at end of file
-- 
cgit v1.2.3

