summaryrefslogtreecommitdiffstats
path: root/runtime/stringbuf.h
diff options
context:
space:
mode:
authorLuis Fernando Muñoz Mejías <Luis.Fernando.Munoz.Mejias@cern.ch>2009-03-25 18:16:29 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2009-03-25 18:50:23 +0100
commit47b334bef1ea9e72bc41279c42228724f6e141f6 (patch)
tree7f9caf040ae71bb6e2e3b37fb8bf24b1add788c6 /runtime/stringbuf.h
parent3dabb2976a2f259ba1f3bd9823ddd2860edc293d (diff)
downloadrsyslog-47b334bef1ea9e72bc41279c42228724f6e141f6.tar.gz
rsyslog-47b334bef1ea9e72bc41279c42228724f6e141f6.tar.bz2
rsyslog-47b334bef1ea9e72bc41279c42228724f6e141f6.zip
Add the ability to actually run statements.
It now runs SQL statements given as templates. In this case, the template is given on the configuration file and the core passes the SQL statement correctly formatted to doAction. I still need to decide how to structure this for having prepared statements (prepare them at parseSelector time) and then make doAction to only bind arguments and execute. It commits after each statement, which is awfully slow but good enough for the moment. Next step after that is have a buffer of arguments, and make doAction store new data as it arrives, then run the statement only when the buffer is almost full. Or something like that.
Diffstat (limited to 'runtime/stringbuf.h')
0 files changed, 0 insertions, 0 deletions