summaryrefslogtreecommitdiffstats
path: root/plugins/omoracle/omoracle.h
diff options
context:
space:
mode:
authorLuis Fernando Muñoz Mejías <Luis.Fernando.Munoz.Mejias@cern.ch>2009-04-15 16:53:16 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-04-16 15:24:52 +0200
commit65a85de3d97ab6bc427ea005b75e4b416013de3c (patch)
tree3903a7960ad77c979d1a3962acf0db8db42ebb45 /plugins/omoracle/omoracle.h
parent502088404363fe675aa75292752b8b78c1dd787d (diff)
downloadrsyslog-65a85de3d97ab6bc427ea005b75e4b416013de3c.tar.gz
rsyslog-65a85de3d97ab6bc427ea005b75e4b416013de3c.tar.xz
rsyslog-65a85de3d97ab6bc427ea005b75e4b416013de3c.zip
Convert to the array-based interface.
We'll receive a single statement to be prepared and a batch size. Then, doAction will execute the statement only once per batch hit, making the process much more efficient. This will reduce network and DB server overhead. The downside is that this version cannot be used with rsyslog v3 anymore. If anyone is interested on backporting the module, they should choose all patches up to this one. Better documentation may follow.
Diffstat (limited to 'plugins/omoracle/omoracle.h')
-rw-r--r--plugins/omoracle/omoracle.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/omoracle/omoracle.h b/plugins/omoracle/omoracle.h
index b0e70917..92bcacab 100644
--- a/plugins/omoracle/omoracle.h
+++ b/plugins/omoracle/omoracle.h
@@ -20,4 +20,6 @@
enum { MAX_BUFSIZE = 2048 };
+#define BIND_MARK ':'
+
#endif