[syslog-ng] [Bug 23] MySQL default configuration causes error on 'pid' column

bugzilla at bugzilla.balabit.com bugzilla at bugzilla.balabit.com
Wed Sep 24 15:25:30 CEST 2008


--- Comment #2 from Mark LaCroix <mark at la-croix.net>  2008-09-24 15:25:31 ---
I think defaulting the PID value to 0 would be preferable, since it is inefficient to store numbers as strings.  Either way is fine, but the default
configuration should work out of the box.  Another solution would be to set NULL fields to NULL rather than an empty string.

Is there a way to specify default values in the conf file?  That would certainly help for people who want to customize the table structure.  The NULL-for-NULL
solution would cover this on the database side since they could specify NOT NULL with a default value.

Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the syslog-ng mailing list