[ZBX-10365] schema.inc.php doesn't correspond to a source schema.tmpl Created: 2016 Feb 09  Updated: 2017 May 30  Resolved: 2016 Feb 09

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: API (A), Frontend (F), Installation (I)
Affects Version/s: 2.0.16
Fix Version/s: 2.0.17rc1

Type: Incident report Priority: Trivial
Reporter: Alexander Vladishev Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: installation
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   
  1. different default values for config.server_check_interval in schema.inc.php and schema.tmpl
  2. different table types for item_discovery
--- frontends/php/include/schema.inc.php
+++ schema.inc.php (generated from schema.tmpl)
@@ -2181,7 +2181,7 @@
 				'null' => false,
 				'type' => DB::FIELD_TYPE_INT,
 				'length' => 10,
-				'default' => '60',
+				'default' => '10',
 			),
 		),
 	),
@@ -5481,7 +5481,7 @@
 		),
 	),
 	'item_discovery' => array(
-		'type' => DB::TABLE_TYPE_HISTORY,
+		'type' => DB::TABLE_TYPE_CONFIG,
 		'key' => 'itemdiscoveryid',
 		'fields' => array(
 			'itemdiscoveryid' => array(
@@ -5724,3 +5724,4 @@
 		),
 	),
 );
+?>


 Comments   
Comment by Alexander Vladishev [ 2016 Feb 09 ]

It does not affect Zabbix work. Must be fixed for consistency of code.

Comment by Alexander Vladishev [ 2016 Feb 09 ]

Fixed in the development branch svn://svn.zabbix.com/branches/dev/ZBX-10365

Comment by Alexander Vladishev [ 2016 Feb 09 ]

Fixed in pre-2.0-17 r58337.

Comment by Alexander Vladishev [ 2016 Sep 24 ]

Fixed typo in ChangeLog in r62762.

Generated at Wed Apr 24 11:08:42 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.