#4 make sqlacct.cxx process AcctConnect events for gnugk 2.2.1

closed-accepted
5
2005-03-08
2005-03-07
Boian Bonev
No

This patch adds processing of AcctConnect event in sql
accounting module. The change is mostly trivial:

- add AcctConnect to processed events constant
- add a check for empty updatequery if the new event is
configured
- process the event the same way as AcctUpdate

There is no additional cost of this because most default
configs do not include the connect event in sql setups.

IMHO there is no need of a separate sql query because
most modern sql servers will optimize the default update
query fairly well.

Discussion

  • Boian Bonev
    Boian Bonev
    2005-03-07

    the patch itself

     
    Attachments
    • assigned_to: nobody --> zvision
    • status: open --> closed-accepted