From 50e02490af39db0150c3ed08e0afca91502b7ba8 Mon Sep 17 00:00:00 2001 From: Denis Ovsienko Date: Tue, 21 Jul 2009 08:17:42 +0000 Subject: [PATCH] r2987 - hotfix: chapter id is actually 27 for PDUs --- inc/dictionary.php | 78 +++++++++++++++++++++++----------------------- upgrade.php | 4 +-- 2 files changed, 41 insertions(+), 41 deletions(-) diff --git a/inc/dictionary.php b/inc/dictionary.php index 553fdc0f..1181b230 100644 --- a/inc/dictionary.php +++ b/inc/dictionary.php @@ -1132,45 +1132,45 @@ $dictionary = array 1108 => array ('chapter_id' => 18, 'dict_value' => 'NetApp%GPASS%DS14mk2 AT'), 1109 => array ('chapter_id' => 18, 'dict_value' => 'NetApp%GPASS%DS14mk2 FC'), 1110 => array ('chapter_id' => 18, 'dict_value' => 'NetApp%GPASS%DS14mk4 FC'), - 1111 => array ('chapter_id' => 26, 'dict_value' => 'APC%GPASS%AP7152'), - 1112 => array ('chapter_id' => 26, 'dict_value' => 'APC%GPASS%AP7155'), - 1113 => array ('chapter_id' => 26, 'dict_value' => 'APC%GPASS%AP7175'), - 1114 => array ('chapter_id' => 26, 'dict_value' => 'APC%GPASS%AP7526'), - 1115 => array ('chapter_id' => 26, 'dict_value' => 'APC%GPASS%AP7551'), - 1116 => array ('chapter_id' => 26, 'dict_value' => 'APC%GPASS%AP7552'), - 1117 => array ('chapter_id' => 26, 'dict_value' => 'APC%GPASS%AP7553'), - 1118 => array ('chapter_id' => 26, 'dict_value' => 'APC%GPASS%AP7554'), - 1119 => array ('chapter_id' => 26, 'dict_value' => 'APC%GPASS%AP7555'), - 1120 => array ('chapter_id' => 26, 'dict_value' => 'APC%GPASS%AP7557'), - 1121 => array ('chapter_id' => 26, 'dict_value' => 'APC%GPASS%AP7585'), - 1122 => array ('chapter_id' => 26, 'dict_value' => 'APC%GPASS%AP7586'), - 1123 => array ('chapter_id' => 26, 'dict_value' => 'APC%GPASS%AP7611'), - 1124 => array ('chapter_id' => 26, 'dict_value' => 'APC%GPASS%AP7631'), - 1125 => array ('chapter_id' => 26, 'dict_value' => 'APC%GPASS%AP7820'), - 1126 => array ('chapter_id' => 26, 'dict_value' => 'APC%GPASS%AP7821'), - 1127 => array ('chapter_id' => 26, 'dict_value' => 'APC%GPASS%AP7822'), - 1128 => array ('chapter_id' => 26, 'dict_value' => 'APC%GPASS%AP7850'), - 1129 => array ('chapter_id' => 26, 'dict_value' => 'APC%GPASS%AP7851'), - 1130 => array ('chapter_id' => 26, 'dict_value' => 'APC%GPASS%AP7852'), - 1131 => array ('chapter_id' => 26, 'dict_value' => 'APC%GPASS%AP7853'), - 1132 => array ('chapter_id' => 26, 'dict_value' => 'APC%GPASS%AP7854'), - 1133 => array ('chapter_id' => 26, 'dict_value' => 'APC%GPASS%AP7855A'), - 1134 => array ('chapter_id' => 26, 'dict_value' => 'APC%GPASS%AP7856'), - 1135 => array ('chapter_id' => 26, 'dict_value' => 'APC%GPASS%AP7856A'), - 1136 => array ('chapter_id' => 26, 'dict_value' => 'APC%GPASS%AP7857'), - 1137 => array ('chapter_id' => 26, 'dict_value' => 'APC%GPASS%AP7920'), - 1138 => array ('chapter_id' => 26, 'dict_value' => 'APC%GPASS%AP7921'), - 1139 => array ('chapter_id' => 26, 'dict_value' => 'APC%GPASS%AP7922'), - 1140 => array ('chapter_id' => 26, 'dict_value' => 'APC%GPASS%AP7950'), - 1141 => array ('chapter_id' => 26, 'dict_value' => 'APC%GPASS%AP7951'), - 1142 => array ('chapter_id' => 26, 'dict_value' => 'APC%GPASS%AP7952'), - 1143 => array ('chapter_id' => 26, 'dict_value' => 'APC%GPASS%AP7953'), - 1144 => array ('chapter_id' => 26, 'dict_value' => 'APC%GPASS%AP7954'), - 1145 => array ('chapter_id' => 26, 'dict_value' => 'APC%GPASS%AP7957'), - 1146 => array ('chapter_id' => 26, 'dict_value' => 'APC%GPASS%AP9559'), - 1147 => array ('chapter_id' => 26, 'dict_value' => 'APC%GPASS%AP9565'), - 1148 => array ('chapter_id' => 26, 'dict_value' => 'APC%GPASS%AP9568'), - 1149 => array ('chapter_id' => 26, 'dict_value' => 'APC%GPASS%AP9572'), + 1111 => array ('chapter_id' => 27, 'dict_value' => 'APC%GPASS%AP7152'), + 1112 => array ('chapter_id' => 27, 'dict_value' => 'APC%GPASS%AP7155'), + 1113 => array ('chapter_id' => 27, 'dict_value' => 'APC%GPASS%AP7175'), + 1114 => array ('chapter_id' => 27, 'dict_value' => 'APC%GPASS%AP7526'), + 1115 => array ('chapter_id' => 27, 'dict_value' => 'APC%GPASS%AP7551'), + 1116 => array ('chapter_id' => 27, 'dict_value' => 'APC%GPASS%AP7552'), + 1117 => array ('chapter_id' => 27, 'dict_value' => 'APC%GPASS%AP7553'), + 1118 => array ('chapter_id' => 27, 'dict_value' => 'APC%GPASS%AP7554'), + 1119 => array ('chapter_id' => 27, 'dict_value' => 'APC%GPASS%AP7555'), + 1120 => array ('chapter_id' => 27, 'dict_value' => 'APC%GPASS%AP7557'), + 1121 => array ('chapter_id' => 27, 'dict_value' => 'APC%GPASS%AP7585'), + 1122 => array ('chapter_id' => 27, 'dict_value' => 'APC%GPASS%AP7586'), + 1123 => array ('chapter_id' => 27, 'dict_value' => 'APC%GPASS%AP7611'), + 1124 => array ('chapter_id' => 27, 'dict_value' => 'APC%GPASS%AP7631'), + 1125 => array ('chapter_id' => 27, 'dict_value' => 'APC%GPASS%AP7820'), + 1126 => array ('chapter_id' => 27, 'dict_value' => 'APC%GPASS%AP7821'), + 1127 => array ('chapter_id' => 27, 'dict_value' => 'APC%GPASS%AP7822'), + 1128 => array ('chapter_id' => 27, 'dict_value' => 'APC%GPASS%AP7850'), + 1129 => array ('chapter_id' => 27, 'dict_value' => 'APC%GPASS%AP7851'), + 1130 => array ('chapter_id' => 27, 'dict_value' => 'APC%GPASS%AP7852'), + 1131 => array ('chapter_id' => 27, 'dict_value' => 'APC%GPASS%AP7853'), + 1132 => array ('chapter_id' => 27, 'dict_value' => 'APC%GPASS%AP7854'), + 1133 => array ('chapter_id' => 27, 'dict_value' => 'APC%GPASS%AP7855A'), + 1134 => array ('chapter_id' => 27, 'dict_value' => 'APC%GPASS%AP7856'), + 1135 => array ('chapter_id' => 27, 'dict_value' => 'APC%GPASS%AP7856A'), + 1136 => array ('chapter_id' => 27, 'dict_value' => 'APC%GPASS%AP7857'), + 1137 => array ('chapter_id' => 27, 'dict_value' => 'APC%GPASS%AP7920'), + 1138 => array ('chapter_id' => 27, 'dict_value' => 'APC%GPASS%AP7921'), + 1139 => array ('chapter_id' => 27, 'dict_value' => 'APC%GPASS%AP7922'), + 1140 => array ('chapter_id' => 27, 'dict_value' => 'APC%GPASS%AP7950'), + 1141 => array ('chapter_id' => 27, 'dict_value' => 'APC%GPASS%AP7951'), + 1142 => array ('chapter_id' => 27, 'dict_value' => 'APC%GPASS%AP7952'), + 1143 => array ('chapter_id' => 27, 'dict_value' => 'APC%GPASS%AP7953'), + 1144 => array ('chapter_id' => 27, 'dict_value' => 'APC%GPASS%AP7954'), + 1145 => array ('chapter_id' => 27, 'dict_value' => 'APC%GPASS%AP7957'), + 1146 => array ('chapter_id' => 27, 'dict_value' => 'APC%GPASS%AP9559'), + 1147 => array ('chapter_id' => 27, 'dict_value' => 'APC%GPASS%AP9565'), + 1148 => array ('chapter_id' => 27, 'dict_value' => 'APC%GPASS%AP9568'), + 1149 => array ('chapter_id' => 27, 'dict_value' => 'APC%GPASS%AP9572'), ); ?> diff --git a/upgrade.php b/upgrade.php index ce3ff3c6..5646a8c4 100644 --- a/upgrade.php +++ b/upgrade.php @@ -250,8 +250,8 @@ CREATE TABLE `LDAPCache` ( $query[] = "INSERT INTO PortCompat (type1, type2) VALUES (1083,20)"; $query[] = "INSERT INTO PortCompat (type1, type2) VALUES (1083,21)"; $query[] = "INSERT INTO PortCompat (type1, type2) VALUES (1083,1083)"; - $query[] = "INSERT INTO `Chapter` (`id`, `sticky`, `name`) VALUES (26,'no','PDU models')"; - $query[] = "INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_id`) VALUES (2,2,26)"; + $query[] = "INSERT INTO `Chapter` (`id`, `sticky`, `name`) VALUES (27,'no','PDU models')"; + $query[] = "INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_id`) VALUES (2,2,27)"; $query[] = "UPDATE Config SET varvalue = '0.17.2' WHERE varname = 'DB_VERSION'"; break; default: -- 2.25.1