[ZBXNEXT-761] improvements to "make dbschema" and "make dist" Created: 2011 Apr 20  Updated: 2024 Apr 10  Resolved: 2017 Nov 18

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: None
Affects Version/s: 1.8.5
Fix Version/s: 4.0.0alpha1, 4.0 (plan)

Type: Change Request Priority: Minor
Reporter: Aleksandrs Saveljevs Assignee: Glebs Ivanovskis (Inactive)
Resolution: Fixed Votes: 3
Labels: compilation, installation
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by ZBX-10841 zabbix proxy should not create invali... Closed
Epic Link: DEV-591
Team: Team C
Sprint: Sprint 15, Sprint 16, Sprint 17, Sprint 18, Sprint 20, Sprint 21
Story Points: 3

 Description   

(1) File "dbschema.c" should depend on "schema.sql". This would help us avoid issues like ZBX-3736.

(2) Files "ibm_db2.sql", "mysql.sql", "oracle.sql", "postgresql.sql", "sqlite3.sql" should also depend on "schema.sql".

(3) It should be possible to create a distribution from a distribution (i.e., run "make dist" successfully in the distribution, created by "make dist").

The fix is partially inhibited by the fact that it is not clear whether we want to include "gen.pl" and "schema.sql" in the distribution. If not, then "dbschema.c" cannot depend on "schema.sql" unconditionally (because "make dbschema.c" would fail in the distribution directory). If yes, then it makes our distribution heavier and makes files "ibm_db2.sql", "mysql.sql", "oracle.sql", "postgresql.sql", "sqlite3.sql" unnecessary in the distribution.



 Comments   
Comment by richlv [ 2015 Nov 02 ]

ZBXNEXT-2884 is similar

Comment by Glebs Ivanovskis (Inactive) [ 2017 Nov 01 ]

(1) and (2) are available for testing in development branch svn://svn.zabbix.com/branches/dev/ZBXNEXT-761 revision 74181.

Decided not to waste time on (3) because it involves digging some really old stuff like 1.1 database upgrade patch...

Comment by Glebs Ivanovskis (Inactive) [ 2017 Nov 14 ]

Available in pre-4.0.0alpha1 (trunk) r74611.

Comment by Glebs Ivanovskis (Inactive) [ 2017 Nov 14 ]

Created ZBXNEXT-4233 for (3).

Generated at Tue Apr 23 08:32:48 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.