Created
March 28, 2014 06:05
-
-
Save higebu/9826325 to your computer and use it in GitHub Desktop.
Fix ZBX-7720 https://support.zabbix.com/browse/ZBX-7720
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -u -r zabbix-2.2.2.orig/database/mysql/schema.sql zabbix-2.2.2/database/mysql/schema.sql | |
--- zabbix-2.2.2.orig/database/mysql/schema.sql 2014-02-12 18:07:45.000000000 +0900 | |
+++ zabbix-2.2.2/database/mysql/schema.sql 2014-03-28 14:01:21.892152182 +0900 | |
@@ -38,7 +38,7 @@ | |
`jmx_available` integer DEFAULT '0' NOT NULL, | |
`jmx_errors_from` integer DEFAULT '0' NOT NULL, | |
`jmx_error` varchar(128) DEFAULT '' NOT NULL, | |
- `name` varchar(64) DEFAULT '' NOT NULL, | |
+ `name` varchar(128) DEFAULT '' NOT NULL, | |
`flags` integer DEFAULT '0' NOT NULL, | |
`templateid` bigint unsigned NULL, | |
PRIMARY KEY (hostid) | |
diff -u -r zabbix-2.2.2.orig/include/db.h zabbix-2.2.2/include/db.h | |
--- zabbix-2.2.2.orig/include/db.h 2014-02-12 18:04:36.000000000 +0900 | |
+++ zabbix-2.2.2/include/db.h 2014-03-28 14:01:22.192157243 +0900 | |
@@ -78,7 +78,7 @@ | |
#define HOST_HOST_LEN MAX_ZBX_HOSTNAME_LEN | |
#define HOST_HOST_LEN_MAX (HOST_HOST_LEN + 1) | |
-#define HOST_NAME_LEN 64 | |
+#define HOST_NAME_LEN 128 | |
#define HOST_ERROR_LEN 128 | |
#define HOST_ERROR_LEN_MAX (HOST_ERROR_LEN + 1) | |
#define HOST_IPMI_USERNAME_LEN 16 |
Author
higebu
commented
Mar 28, 2014
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment