summaryrefslogblamecommitdiffstats
path: root/sql/client_update_traffic_stats.sql
blob: caf55c4eab13be3e3b033534bd412fac4b250308 (plain) (tree)
1
2
3
4
5
6





                                                           
update clients set 
 client_month_upload= client_month_upload + :upload:,
 client_month_download= client_month_download + :download:,
 client_total_upload= client_total_upload + :upload:,
 client_total_download= client_total_download + :download:
 where client_id=:client_id:;