File nagiosql-2.0.2-DB_update.patch of Package nagiosQL
diff -ruN nagiosql-2.0.2-orig/config/nagiosQL_v2_db_mysql_update_2.0.0-2.0.2.sql nagiosql-2.0.2/config/nagiosQL_v2_db_mysql_update_2.0.0-2.0.2.sql
--- nagiosql-2.0.2-orig/config/nagiosQL_v2_db_mysql_update_2.0.0-2.0.2.sql 2008-03-31 13:24:01.000000000 +0000
+++ nagiosql-2.0.2/config/nagiosQL_v2_db_mysql_update_2.0.0-2.0.2.sql 2008-07-14 23:17:58.845631941 +0000
@@ -16,7 +16,7 @@
-- //
-- ///////////////////////////////////////////////////////////////////////////////
-USE db_nagiosql_v2;
+USE nagiosQL;
ALTER TABLE `tbl_host` CHANGE `freshness_threshold` `freshness_threshold` MEDIUMINT UNSIGNED NULL DEFAULT NULL;
ALTER TABLE `tbl_host` ADD `failure_prediction_enabled` ENUM( '0', '1' ) NOT NULL DEFAULT '1' AFTER `flap_detection_enabled`;