diff options
author | Luis Fernando Muñoz Mejías <Luis.Fernando.Munoz.Mejias@cern.ch> | 2009-04-15 16:53:21 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-04-16 15:28:01 +0200 |
commit | 668f9a79fb7268f7935d93249cf283664662996d (patch) | |
tree | 39c52e3284cb4158679b94cc2b68f01f31bb4f42 /COPYING | |
parent | ca28204f7ba5c5c520b52180e26471e12af83560 (diff) | |
download | rsyslog-668f9a79fb7268f7935d93249cf283664662996d.tar.gz rsyslog-668f9a79fb7268f7935d93249cf283664662996d.tar.xz rsyslog-668f9a79fb7268f7935d93249cf283664662996d.zip |
Fixing the batch insertions.
Previous versions inserted garbage (the pointer was interpreted as the
string itself). It seems inserting arrays of strings is not that easy
with OCI.
This approach consumes 2KB per entry in the batch, so if you have
batches of size 1000 you'll be using 2MB for the batch. This size
doesn't change, anyways and the risk of leaking memory is gone. OCI
doesn't deal well with batches of strings. :(
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions