[syslog-ng] [PATCH] afmongodb: Make the collection name a simple string.
Balazs Scheidler
bazsi at balabit.hu
Sat Apr 30 23:06:08 CEST 2011
On Sat, 2011-04-16 at 18:07 +0200, Gergely Nagy wrote:
> Gergely Nagy <algernon at balabit.hu> writes:
>
> > + self->ns = g_string_concat (self->db, ".", self->coll, NULL);
>
> This should be g_strconcat(). Suits me for not building with -Werror...
>
> And while I'm here, the rationale behind getting rid of a templatable
> collection name is that I couldn't come up with a use-case that would
> warrant this. Yet, without it, bulk inserts are far far easier to
> implement, and provide a noticable performance boost on higher loads.
>
Applied both of your patches to 3.3, thanks.
--
Bazsi
More information about the syslog-ng
mailing list