[Nagios-devel] create_mysql bug

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

[Nagios-devel] create_mysql bug

Post by Guest »

Hi

I'm not sure where or if there is a bugzilla for this project and I've
got something to contribute:

The create_mysql script is broken. According to the wonderful folks on
freenode's #mysql channel auto_increment IDs set themselves and
therefore do not need a default.

The diff to make it work properly is:

12c12
hostcomment_id int(11) NOT NULL auto_increment,
28c28
hostdowntime_id int(11) NOT NULL auto_increment,
165c165
servicecomment_id int(11) NOT NULL auto_increment,
182c182
servicedowntime_id int(11) NOT NULL auto_increment,


--

best wishes

Chris






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked