Re: [PATCH 3/4] Add new output plugin DBI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Le lundi 01 décembre 2008 à 13:41 +0100, Pierre Chifflier a écrit :
> libdbi implements a database-independent abstraction layer in C, similar to
> the DBI/DBD layer in Perl.
> This module brings support for all database types supported by libdbi.
> 
> Signed-off-by: Pierre Chifflier <chifflier@xxxxxx>
> ---
>  configure.in                  |    1 +
>  output/Makefile.am            |    2 +-
>  output/dbi/Makefile.am        |   12 ++
>  output/dbi/ulogd_output_DBI.c |  313 +++++++++++++++++++++++++++++++++++++++++
>  ulogd.conf.in                 |   10 ++
>  5 files changed, 337 insertions(+), 1 deletions(-)
>  create mode 100644 output/dbi/Makefile.am
>  create mode 100644 output/dbi/ulogd_output_DBI.c

> +		const char *errptr;
> +		dbi_conn_error(pi->dbh, &errptr);
> +		ulogd_log(ULOGD_DEBUG, "execute failed (%s)\n",
> +			  errptr);

Hmm, this is more an error message than a debug one.

> +		ulogd_log(ULOGD_DEBUG, "failed query: [%s]\n",
> +			  stmt);

Applied with the above modifications, thanks.

BR,
-- 
Éric Leblond <eric@xxxxxx>
INL, http://www.inl.fr/
NuFW, http://www.nufw.org

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=


[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux