/[smeserver]/rpms/smolt/sme9/smolt-1.4.3-ddl.patch
ViewVC logotype

Contents of /rpms/smolt/sme9/smolt-1.4.3-ddl.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Thu Jan 31 22:25:16 2013 UTC (11 years, 9 months ago) by slords
Branch: MAIN
CVS Tags: smolt-1_4_3-5_el6_sme, HEAD
Error occurred while calculating annotation data.
Initial import

1 diff -ruN smolt-1.4.3.ddl/smoon/smoon.ddl.sql smolt-1.4.3/smoon/smoon.ddl.sql
2 --- smolt-1.4.3.ddl/smoon/smoon.ddl.sql 2010-02-27 12:05:44.000000000 -0700
3 +++ smolt-1.4.3/smoon/smoon.ddl.sql 2010-01-14 09:32:24.000000000 -0700
4 @@ -1,8 +1,8 @@
5 --- MySQL dump 10.10
6 +-- MySQL dump 10.11
7 --
8 -- Host: localhost Database: smolt
9 -- ------------------------------------------------------
10 --- Server version 5.0.22-log
11 +-- Server version 5.0.77-log
12
13 /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
14 /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
15 @@ -16,24 +16,22 @@
16 /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
17
18 --
19 --- Table structure for table `ARCH`
20 +-- Temporary table structure for view `ARCH`
21 --
22
23 DROP TABLE IF EXISTS `ARCH`;
24 /*!50001 DROP VIEW IF EXISTS `ARCH`*/;
25 -/*!50001 DROP TABLE IF EXISTS `ARCH`*/;
26 /*!50001 CREATE TABLE `ARCH` (
27 `platform` varchar(16),
28 `cnt` bigint(21)
29 -) */;
30 +) ENGINE=MyISAM */;
31
32 --
33 --- Table structure for table `CLASS`
34 +-- Temporary table structure for view `CLASS`
35 --
36
37 DROP TABLE IF EXISTS `CLASS`;
38 /*!50001 DROP VIEW IF EXISTS `CLASS`*/;
39 -/*!50001 DROP TABLE IF EXISTS `CLASS`*/;
40 /*!50001 CREATE TABLE `CLASS` (
41 `description` varchar(128),
42 `bus` varchar(8),
43 @@ -45,204 +43,194 @@
44 `date_added` datetime,
45 `class` varchar(40),
46 `cnt` bigint(21)
47 -) */;
48 +) ENGINE=MyISAM */;
49
50 --
51 --- Table structure for table `CPU_VENDOR`
52 +-- Temporary table structure for view `CPU_VENDOR`
53 --
54
55 DROP TABLE IF EXISTS `CPU_VENDOR`;
56 /*!50001 DROP VIEW IF EXISTS `CPU_VENDOR`*/;
57 -/*!50001 DROP TABLE IF EXISTS `CPU_VENDOR`*/;
58 /*!50001 CREATE TABLE `CPU_VENDOR` (
59 `cpu_vendor` varchar(32),
60 `cnt` bigint(21)
61 -) */;
62 +) ENGINE=MyISAM */;
63
64 --
65 --- Table structure for table `FILESYSTEMS`
66 +-- Temporary table structure for view `FILESYSTEMS`
67 --
68
69 DROP TABLE IF EXISTS `FILESYSTEMS`;
70 /*!50001 DROP VIEW IF EXISTS `FILESYSTEMS`*/;
71 -/*!50001 DROP TABLE IF EXISTS `FILESYSTEMS`*/;
72 /*!50001 CREATE TABLE `FILESYSTEMS` (
73 `fs_type` varchar(16),
74 `cnt` bigint(21)
75 -) */;
76 +) ENGINE=MyISAM */;
77
78 --
79 --- Table structure for table `FORMFACTOR`
80 +-- Temporary table structure for view `FORMFACTOR`
81 --
82
83 DROP TABLE IF EXISTS `FORMFACTOR`;
84 /*!50001 DROP VIEW IF EXISTS `FORMFACTOR`*/;
85 -/*!50001 DROP TABLE IF EXISTS `FORMFACTOR`*/;
86 /*!50001 CREATE TABLE `FORMFACTOR` (
87 `formfactor` varchar(32),
88 `cnt` bigint(21)
89 -) */;
90 +) ENGINE=MyISAM */;
91
92 --
93 --- Table structure for table `KERNEL_VERSION`
94 +-- Temporary table structure for view `KERNEL_VERSION`
95 --
96
97 DROP TABLE IF EXISTS `KERNEL_VERSION`;
98 /*!50001 DROP VIEW IF EXISTS `KERNEL_VERSION`*/;
99 -/*!50001 DROP TABLE IF EXISTS `KERNEL_VERSION`*/;
100 /*!50001 CREATE TABLE `KERNEL_VERSION` (
101 `kernel_version` varchar(32),
102 `cnt` bigint(21)
103 -) */;
104 +) ENGINE=MyISAM */;
105
106 --
107 --- Table structure for table `LANGUAGE`
108 +-- Temporary table structure for view `LANGUAGE`
109 --
110
111 DROP TABLE IF EXISTS `LANGUAGE`;
112 /*!50001 DROP VIEW IF EXISTS `LANGUAGE`*/;
113 -/*!50001 DROP TABLE IF EXISTS `LANGUAGE`*/;
114 /*!50001 CREATE TABLE `LANGUAGE` (
115 - `language` varchar(8),
116 + `language` varchar(15),
117 `cnt` bigint(21)
118 -) */;
119 +) ENGINE=MyISAM */;
120
121 --
122 --- Table structure for table `NUM_CPUS`
123 +-- Temporary table structure for view `NUM_CPUS`
124 --
125
126 DROP TABLE IF EXISTS `NUM_CPUS`;
127 /*!50001 DROP VIEW IF EXISTS `NUM_CPUS`*/;
128 -/*!50001 DROP TABLE IF EXISTS `NUM_CPUS`*/;
129 /*!50001 CREATE TABLE `NUM_CPUS` (
130 `num_cpus` int(11),
131 `cnt` bigint(21)
132 -) */;
133 +) ENGINE=MyISAM */;
134
135 --
136 --- Table structure for table `OS`
137 +-- Temporary table structure for view `OS`
138 --
139
140 DROP TABLE IF EXISTS `OS`;
141 /*!50001 DROP VIEW IF EXISTS `OS`*/;
142 -/*!50001 DROP TABLE IF EXISTS `OS`*/;
143 /*!50001 CREATE TABLE `OS` (
144 `os` varchar(32),
145 `cnt` bigint(21)
146 -) */;
147 +) ENGINE=MyISAM */;
148
149 --
150 --- Table structure for table `RUNLEVEL`
151 +-- Temporary table structure for view `RUNLEVEL`
152 --
153
154 DROP TABLE IF EXISTS `RUNLEVEL`;
155 /*!50001 DROP VIEW IF EXISTS `RUNLEVEL`*/;
156 -/*!50001 DROP TABLE IF EXISTS `RUNLEVEL`*/;
157 /*!50001 CREATE TABLE `RUNLEVEL` (
158 `default_runlevel` int(11),
159 `cnt` bigint(21)
160 -) */;
161 +) ENGINE=MyISAM */;
162
163 --
164 --- Table structure for table `SELINUX_ENABLED`
165 +-- Temporary table structure for view `SELINUX_ENABLED`
166 --
167
168 DROP TABLE IF EXISTS `SELINUX_ENABLED`;
169 /*!50001 DROP VIEW IF EXISTS `SELINUX_ENABLED`*/;
170 -/*!50001 DROP TABLE IF EXISTS `SELINUX_ENABLED`*/;
171 /*!50001 CREATE TABLE `SELINUX_ENABLED` (
172 - `enabled` tinyint(2),
173 + `enabled` tinyint(1),
174 `cnt` bigint(21)
175 -) */;
176 +) ENGINE=MyISAM */;
177
178 --
179 --- Table structure for table `SELINUX_ENFORCE`
180 +-- Temporary table structure for view `SELINUX_ENFORCE`
181 --
182
183 DROP TABLE IF EXISTS `SELINUX_ENFORCE`;
184 /*!50001 DROP VIEW IF EXISTS `SELINUX_ENFORCE`*/;
185 -/*!50001 DROP TABLE IF EXISTS `SELINUX_ENFORCE`*/;
186 /*!50001 CREATE TABLE `SELINUX_ENFORCE` (
187 - `enforce` varchar(20),
188 + `enforce` varchar(25),
189 `cnt` bigint(21)
190 -) */;
191 +) ENGINE=MyISAM */;
192
193 --
194 --- Table structure for table `SELINUX_POLICY`
195 +-- Temporary table structure for view `SELINUX_POLICY`
196 --
197
198 DROP TABLE IF EXISTS `SELINUX_POLICY`;
199 /*!50001 DROP VIEW IF EXISTS `SELINUX_POLICY`*/;
200 -/*!50001 DROP TABLE IF EXISTS `SELINUX_POLICY`*/;
201 /*!50001 CREATE TABLE `SELINUX_POLICY` (
202 - `policy` varchar(20),
203 + `policy` varchar(25),
204 `cnt` bigint(21)
205 -) */;
206 +) ENGINE=MyISAM */;
207
208 --
209 --- Table structure for table `SYSTEM`
210 +-- Temporary table structure for view `SYSTEM`
211 --
212
213 DROP TABLE IF EXISTS `SYSTEM`;
214 /*!50001 DROP VIEW IF EXISTS `SYSTEM`*/;
215 -/*!50001 DROP TABLE IF EXISTS `SYSTEM`*/;
216 /*!50001 CREATE TABLE `SYSTEM` (
217 `system` varchar(96),
218 `cnt` bigint(21)
219 -) */;
220 +) ENGINE=MyISAM */;
221
222 --
223 --- Table structure for table `TOTALLIST`
224 +-- Temporary table structure for view `TOTALLIST`
225 --
226
227 DROP TABLE IF EXISTS `TOTALLIST`;
228 /*!50001 DROP VIEW IF EXISTS `TOTALLIST`*/;
229 -/*!50001 DROP TABLE IF EXISTS `TOTALLIST`*/;
230 /*!50001 CREATE TABLE `TOTALLIST` (
231 `description` varchar(128),
232 `cnt` bigint(21)
233 -) */;
234 +) ENGINE=MyISAM */;
235
236 --
237 --- Table structure for table `UNIQUELIST`
238 +-- Temporary table structure for view `UNIQUELIST`
239 --
240
241 DROP TABLE IF EXISTS `UNIQUELIST`;
242 /*!50001 DROP VIEW IF EXISTS `UNIQUELIST`*/;
243 -/*!50001 DROP TABLE IF EXISTS `UNIQUELIST`*/;
244 /*!50001 CREATE TABLE `UNIQUELIST` (
245 `description` varchar(128),
246 `cnt` bigint(21)
247 -) */;
248 +) ENGINE=MyISAM */;
249
250 --
251 --- Table structure for table `VENDOR`
252 +-- Temporary table structure for view `VENDOR`
253 --
254
255 DROP TABLE IF EXISTS `VENDOR`;
256 /*!50001 DROP VIEW IF EXISTS `VENDOR`*/;
257 -/*!50001 DROP TABLE IF EXISTS `VENDOR`*/;
258 /*!50001 CREATE TABLE `VENDOR` (
259 `vendor` varchar(96),
260 `cnt` bigint(21)
261 -) */;
262 +) ENGINE=MyISAM */;
263
264 --
265 -- Table structure for table `classes`
266 --
267
268 DROP TABLE IF EXISTS `classes`;
269 +SET @saved_cs_client = @@character_set_client;
270 +SET character_set_client = utf8;
271 CREATE TABLE `classes` (
272 `class` varchar(40) character set latin1 NOT NULL,
273 `description` varchar(64) character set latin1 default NULL,
274 PRIMARY KEY (`class`)
275 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
276 +SET character_set_client = @saved_cs_client;
277
278 --
279 -- Table structure for table `device`
280 --
281
282 DROP TABLE IF EXISTS `device`;
283 +SET @saved_cs_client = @@character_set_client;
284 +SET character_set_client = utf8;
285 CREATE TABLE `device` (
286 `id` int(11) NOT NULL auto_increment,
287 `description` varchar(128) character set latin1 NOT NULL default '',
288 @@ -256,35 +244,40 @@
289 `subsys_vendor_id` int(11) default NULL,
290 PRIMARY KEY (`id`),
291 UNIQUE KEY `description` USING BTREE (`description`,`device_id`,`vendor_id`,`subsys_device_id`,`subsys_vendor_id`),
292 - KEY `class` (`class`),
293 - KEY `class_2` (`class`)
294 -) ENGINE=MyISAM DEFAULT CHARSET=utf8;
295 + KEY `class` (`class`)
296 +) ENGINE=MyISAM AUTO_INCREMENT=237139 DEFAULT CHARSET=utf8;
297 +SET character_set_client = @saved_cs_client;
298
299 --
300 -- Table structure for table `fas_link`
301 --
302
303 DROP TABLE IF EXISTS `fas_link`;
304 +SET @saved_cs_client = @@character_set_client;
305 +SET character_set_client = utf8;
306 CREATE TABLE `fas_link` (
307 `id` int(11) NOT NULL auto_increment,
308 `uuid` varchar(36) default NULL,
309 `user_name` varchar(255) NOT NULL,
310 PRIMARY KEY (`id`)
311 ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
312 +SET character_set_client = @saved_cs_client;
313
314 --
315 -- Table structure for table `file_systems`
316 --
317
318 DROP TABLE IF EXISTS `file_systems`;
319 +SET @saved_cs_client = @@character_set_client;
320 +SET character_set_client = utf8;
321 CREATE TABLE `file_systems` (
322 `id` bigint(20) NOT NULL auto_increment,
323 `host_id` int(11) default NULL,
324 `mnt_pnt` varchar(64) default NULL,
325 `fs_type` varchar(16) default NULL,
326 `f_favail` int(11) default NULL,
327 - `f_bsize` int(11) default NULL,
328 - `f_frsize` int(11) default NULL,
329 + `f_bsize` bigint(20) default NULL,
330 + `f_frsize` bigint(20) default NULL,
331 `f_blocks` int(11) default NULL,
332 `f_bfree` int(11) default NULL,
333 `f_bavail` int(11) default NULL,
334 @@ -292,14 +285,18 @@
335 `f_ffree` int(11) default NULL,
336 `f_fssize` bigint(24) default NULL,
337 PRIMARY KEY (`id`),
338 - KEY `host_id` (`host_id`)
339 -) ENGINE=MyISAM DEFAULT CHARSET=utf8;
340 + KEY `host_id` (`host_id`),
341 + KEY `fs_join_index` (`host_id`,`fs_type`)
342 +) ENGINE=MyISAM AUTO_INCREMENT=6147005 DEFAULT CHARSET=utf8;
343 +SET character_set_client = @saved_cs_client;
344
345 --
346 -- Table structure for table `host`
347 --
348
349 DROP TABLE IF EXISTS `host`;
350 +SET @saved_cs_client = @@character_set_client;
351 +SET character_set_client = utf8;
352 CREATE TABLE `host` (
353 `id` int(11) NOT NULL auto_increment,
354 `uuid` varchar(36) NOT NULL,
355 @@ -312,29 +309,37 @@
356 `vendor` varchar(96) character set latin1 default NULL,
357 `system` varchar(96) character set latin1 default NULL,
358 `cpu_vendor` varchar(32) character set latin1 default NULL,
359 - `cpu_model` varchar(32) character set latin1 default NULL,
360 + `cpu_model` varchar(80) default NULL,
361 `num_cpus` int(11) default NULL,
362 `cpu_speed` double default NULL,
363 - `language` varchar(8) character set latin1 default NULL,
364 + `language` varchar(15) default NULL,
365 `default_runlevel` int(11) default NULL,
366 `kernel_version` varchar(32) character set latin1 default NULL,
367 `formfactor` varchar(32) character set latin1 default NULL,
368 `last_modified` datetime NOT NULL default '0000-00-00 00:00:00',
369 `rating` int(11) NOT NULL default '0',
370 - `selinux_enabled` tinyint(2) NOT NULL default '-1',
371 - `selinux_policy` varchar(20) default NULL,
372 - `selinux_enforce` varchar(20) default NULL,
373 + `selinux_enabled` tinyint(1) NOT NULL default '0',
374 + `selinux_policy` varchar(25) default NULL,
375 + `selinux_enforce` varchar(25) default NULL,
376 + `cpu_stepping` int(11) default NULL,
377 + `cpu_family` int(11) default NULL,
378 + `cpu_model_num` int(11) default NULL,
379 PRIMARY KEY (`id`),
380 UNIQUE KEY `u_u_id` (`uuid`),
381 KEY `platform` (`platform`),
382 - KEY `pub_uuid` (`pub_uuid`)
383 -) ENGINE=MyISAM DEFAULT CHARSET=utf8;
384 + KEY `pub_uuid` (`pub_uuid`),
385 + KEY `last_modified` (`last_modified`),
386 + KEY `last_modified_join` (`id`,`last_modified`)
387 +) ENGINE=InnoDB AUTO_INCREMENT=1735597 DEFAULT CHARSET=utf8;
388 +SET character_set_client = @saved_cs_client;
389
390 --
391 -- Table structure for table `host_links`
392 --
393
394 DROP TABLE IF EXISTS `host_links`;
395 +SET @saved_cs_client = @@character_set_client;
396 +SET character_set_client = utf8;
397 CREATE TABLE `host_links` (
398 `id` int(11) NOT NULL auto_increment,
399 `host_link_id` int(11) default NULL,
400 @@ -342,177 +347,180 @@
401 `rating` int(11) NOT NULL default '0',
402 PRIMARY KEY (`id`),
403 KEY `host_link_id` (`host_link_id`),
404 - KEY `device_id` (`device_id`)
405 -) ENGINE=MyISAM DEFAULT CHARSET=utf8;
406 + KEY `device_id` (`device_id`),
407 + KEY `rating` (`rating`,`device_id`),
408 + KEY `device_host_link` (`device_id`,`host_link_id`)
409 +) ENGINE=MyISAM AUTO_INCREMENT=112099123 DEFAULT CHARSET=utf8;
410 +SET character_set_client = @saved_cs_client;
411
412 --
413 --- View structure for view `ARCH`
414 +-- Final view structure for view `ARCH`
415 --
416
417 -/*!50001 DROP TABLE IF EXISTS `ARCH`*/;
418 +/*!50001 DROP TABLE `ARCH`*/;
419 /*!50001 DROP VIEW IF EXISTS `ARCH`*/;
420 /*!50001 CREATE ALGORITHM=UNDEFINED */
421 -/*!50013 DEFINER=`smoon`@`localhost` SQL SECURITY DEFINER */
422 +/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
423 /*!50001 VIEW `ARCH` AS select `host`.`platform` AS `platform`,count(`host`.`platform`) AS `cnt` from `host` group by `host`.`platform` order by count(`host`.`platform`) desc */;
424
425 --
426 --- View structure for view `CLASS`
427 +-- Final view structure for view `CLASS`
428 --
429
430 -/*!50001 DROP TABLE IF EXISTS `CLASS`*/;
431 +/*!50001 DROP TABLE `CLASS`*/;
432 /*!50001 DROP VIEW IF EXISTS `CLASS`*/;
433 /*!50001 CREATE ALGORITHM=UNDEFINED */
434 -/*!50013 DEFINER=`smoon`@`localhost` SQL SECURITY DEFINER */
435 +/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
436 /*!50001 VIEW `CLASS` AS select `device`.`description` AS `description`,`device`.`bus` AS `bus`,`device`.`driver` AS `driver`,`device`.`vendor_id` AS `vendor_id`,`device`.`device_id` AS `device_id`,`device`.`subsys_vendor_id` AS `subsys_vendor_id`,`device`.`subsys_device_id` AS `subsys_device_id`,`device`.`date_added` AS `date_added`,`device`.`class` AS `class`,count(distinct `host_links`.`host_link_id`) AS `cnt` from (`host_links` join `device`) where (`host_links`.`device_id` = `device`.`id`) group by `host_links`.`device_id` order by count(distinct `host_links`.`host_link_id`) desc */;
437
438 --
439 --- View structure for view `CPU_VENDOR`
440 +-- Final view structure for view `CPU_VENDOR`
441 --
442
443 -/*!50001 DROP TABLE IF EXISTS `CPU_VENDOR`*/;
444 +/*!50001 DROP TABLE `CPU_VENDOR`*/;
445 /*!50001 DROP VIEW IF EXISTS `CPU_VENDOR`*/;
446 /*!50001 CREATE ALGORITHM=UNDEFINED */
447 -/*!50013 DEFINER=`smoon`@`localhost` SQL SECURITY DEFINER */
448 +/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
449 /*!50001 VIEW `CPU_VENDOR` AS select `host`.`cpu_vendor` AS `cpu_vendor`,count(`host`.`cpu_vendor`) AS `cnt` from `host` group by `host`.`cpu_vendor` order by count(`host`.`cpu_vendor`) desc */;
450
451 --
452 --- View structure for view `FILESYSTEMS`
453 +-- Final view structure for view `FILESYSTEMS`
454 --
455
456 -/*!50001 DROP TABLE IF EXISTS `FILESYSTEMS`*/;
457 +/*!50001 DROP TABLE `FILESYSTEMS`*/;
458 /*!50001 DROP VIEW IF EXISTS `FILESYSTEMS`*/;
459 /*!50001 CREATE ALGORITHM=UNDEFINED */
460 -/*!50013 DEFINER=`smoon`@`localhost` SQL SECURITY DEFINER */
461 +/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
462 /*!50001 VIEW `FILESYSTEMS` AS select `file_systems`.`fs_type` AS `fs_type`,count(`file_systems`.`fs_type`) AS `cnt` from `file_systems` group by `file_systems`.`fs_type` order by count(`file_systems`.`fs_type`) desc */;
463
464 --
465 --- View structure for view `FORMFACTOR`
466 +-- Final view structure for view `FORMFACTOR`
467 --
468
469 -/*!50001 DROP TABLE IF EXISTS `FORMFACTOR`*/;
470 +/*!50001 DROP TABLE `FORMFACTOR`*/;
471 /*!50001 DROP VIEW IF EXISTS `FORMFACTOR`*/;
472 /*!50001 CREATE ALGORITHM=UNDEFINED */
473 -/*!50013 DEFINER=`smoon`@`localhost` SQL SECURITY DEFINER */
474 +/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
475 /*!50001 VIEW `FORMFACTOR` AS select `host`.`formfactor` AS `formfactor`,count(`host`.`formfactor`) AS `cnt` from `host` group by `host`.`formfactor` order by count(`host`.`formfactor`) desc */;
476
477 --
478 --- View structure for view `KERNEL_VERSION`
479 +-- Final view structure for view `KERNEL_VERSION`
480 --
481
482 -/*!50001 DROP TABLE IF EXISTS `KERNEL_VERSION`*/;
483 +/*!50001 DROP TABLE `KERNEL_VERSION`*/;
484 /*!50001 DROP VIEW IF EXISTS `KERNEL_VERSION`*/;
485 /*!50001 CREATE ALGORITHM=UNDEFINED */
486 -/*!50013 DEFINER=`smoon`@`localhost` SQL SECURITY DEFINER */
487 +/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
488 /*!50001 VIEW `KERNEL_VERSION` AS select `host`.`kernel_version` AS `kernel_version`,count(`host`.`kernel_version`) AS `cnt` from `host` group by `host`.`kernel_version` order by count(`host`.`kernel_version`) desc */;
489
490 --
491 --- View structure for view `LANGUAGE`
492 +-- Final view structure for view `LANGUAGE`
493 --
494
495 -/*!50001 DROP TABLE IF EXISTS `LANGUAGE`*/;
496 +/*!50001 DROP TABLE `LANGUAGE`*/;
497 /*!50001 DROP VIEW IF EXISTS `LANGUAGE`*/;
498 /*!50001 CREATE ALGORITHM=UNDEFINED */
499 -/*!50013 DEFINER=`smoon`@`localhost` SQL SECURITY DEFINER */
500 +/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
501 /*!50001 VIEW `LANGUAGE` AS select `host`.`language` AS `language`,count(`host`.`language`) AS `cnt` from `host` group by `host`.`language` order by count(`host`.`language`) desc */;
502
503 --
504 --- View structure for view `NUM_CPUS`
505 +-- Final view structure for view `NUM_CPUS`
506 --
507
508 -/*!50001 DROP TABLE IF EXISTS `NUM_CPUS`*/;
509 +/*!50001 DROP TABLE `NUM_CPUS`*/;
510 /*!50001 DROP VIEW IF EXISTS `NUM_CPUS`*/;
511 /*!50001 CREATE ALGORITHM=UNDEFINED */
512 -/*!50013 DEFINER=`smoon`@`localhost` SQL SECURITY DEFINER */
513 +/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
514 /*!50001 VIEW `NUM_CPUS` AS select `host`.`num_cpus` AS `num_cpus`,count(`host`.`num_cpus`) AS `cnt` from `host` group by `host`.`num_cpus` order by count(`host`.`num_cpus`) desc */;
515
516 --
517 --- View structure for view `OS`
518 +-- Final view structure for view `OS`
519 --
520
521 -/*!50001 DROP TABLE IF EXISTS `OS`*/;
522 +/*!50001 DROP TABLE `OS`*/;
523 /*!50001 DROP VIEW IF EXISTS `OS`*/;
524 /*!50001 CREATE ALGORITHM=UNDEFINED */
525 -/*!50013 DEFINER=`smoon`@`localhost` SQL SECURITY DEFINER */
526 +/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
527 /*!50001 VIEW `OS` AS select `host`.`os` AS `os`,count(`host`.`os`) AS `cnt` from `host` group by `host`.`os` order by count(`host`.`os`) desc */;
528
529 --
530 --- View structure for view `RUNLEVEL`
531 +-- Final view structure for view `RUNLEVEL`
532 --
533
534 -/*!50001 DROP TABLE IF EXISTS `RUNLEVEL`*/;
535 +/*!50001 DROP TABLE `RUNLEVEL`*/;
536 /*!50001 DROP VIEW IF EXISTS `RUNLEVEL`*/;
537 /*!50001 CREATE ALGORITHM=UNDEFINED */
538 -/*!50013 DEFINER=`smoon`@`localhost` SQL SECURITY DEFINER */
539 +/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
540 /*!50001 VIEW `RUNLEVEL` AS select `host`.`default_runlevel` AS `default_runlevel`,count(`host`.`default_runlevel`) AS `cnt` from `host` group by `host`.`default_runlevel` order by count(`host`.`default_runlevel`) desc */;
541
542 --
543 --- View structure for view `SELINUX_ENABLED`
544 +-- Final view structure for view `SELINUX_ENABLED`
545 --
546
547 -/*!50001 DROP TABLE IF EXISTS `SELINUX_ENABLED`*/;
548 +/*!50001 DROP TABLE `SELINUX_ENABLED`*/;
549 /*!50001 DROP VIEW IF EXISTS `SELINUX_ENABLED`*/;
550 /*!50001 CREATE ALGORITHM=UNDEFINED */
551 -/*!50013 DEFINER=`smoon`@`localhost` SQL SECURITY DEFINER */
552 +/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
553 /*!50001 VIEW `SELINUX_ENABLED` AS select `host`.`selinux_enabled` AS `enabled`,count(`host`.`selinux_enabled`) AS `cnt` from `host` group by `host`.`selinux_enabled` order by count(`host`.`selinux_enabled`) desc */;
554
555 --
556 --- View structure for view `SELINUX_ENFORCE`
557 +-- Final view structure for view `SELINUX_ENFORCE`
558 --
559
560 -/*!50001 DROP TABLE IF EXISTS `SELINUX_ENFORCE`*/;
561 +/*!50001 DROP TABLE `SELINUX_ENFORCE`*/;
562 /*!50001 DROP VIEW IF EXISTS `SELINUX_ENFORCE`*/;
563 /*!50001 CREATE ALGORITHM=UNDEFINED */
564 -/*!50013 DEFINER=`smoon`@`localhost` SQL SECURITY DEFINER */
565 +/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
566 /*!50001 VIEW `SELINUX_ENFORCE` AS select `host`.`selinux_enforce` AS `enforce`,count(`host`.`selinux_enforce`) AS `cnt` from `host` group by `host`.`selinux_enforce` order by count(`host`.`selinux_enforce`) desc */;
567
568 --
569 --- View structure for view `SELINUX_POLICY`
570 +-- Final view structure for view `SELINUX_POLICY`
571 --
572
573 -/*!50001 DROP TABLE IF EXISTS `SELINUX_POLICY`*/;
574 +/*!50001 DROP TABLE `SELINUX_POLICY`*/;
575 /*!50001 DROP VIEW IF EXISTS `SELINUX_POLICY`*/;
576 /*!50001 CREATE ALGORITHM=UNDEFINED */
577 -/*!50013 DEFINER=`smoon`@`localhost` SQL SECURITY DEFINER */
578 +/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
579 /*!50001 VIEW `SELINUX_POLICY` AS select `host`.`selinux_policy` AS `policy`,count(`host`.`selinux_policy`) AS `cnt` from `host` group by `host`.`selinux_policy` order by count(`host`.`selinux_policy`) desc */;
580
581 --
582 --- View structure for view `SYSTEM`
583 +-- Final view structure for view `SYSTEM`
584 --
585
586 -/*!50001 DROP TABLE IF EXISTS `SYSTEM`*/;
587 +/*!50001 DROP TABLE `SYSTEM`*/;
588 /*!50001 DROP VIEW IF EXISTS `SYSTEM`*/;
589 /*!50001 CREATE ALGORITHM=UNDEFINED */
590 -/*!50013 DEFINER=`smoon`@`localhost` SQL SECURITY DEFINER */
591 +/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
592 /*!50001 VIEW `SYSTEM` AS select `host`.`system` AS `system`,count(`host`.`system`) AS `cnt` from `host` where ((`host`.`system` <> _latin1'Unknown') and (`host`.`system` <> _latin1'')) group by `host`.`system` order by count(`host`.`system`) desc */;
593
594 --
595 --- View structure for view `TOTALLIST`
596 +-- Final view structure for view `TOTALLIST`
597 --
598
599 -/*!50001 DROP TABLE IF EXISTS `TOTALLIST`*/;
600 +/*!50001 DROP TABLE `TOTALLIST`*/;
601 /*!50001 DROP VIEW IF EXISTS `TOTALLIST`*/;
602 /*!50001 CREATE ALGORITHM=UNDEFINED */
603 -/*!50013 DEFINER=`smoon`@`localhost` SQL SECURITY DEFINER */
604 +/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
605 /*!50001 VIEW `TOTALLIST` AS select `device`.`description` AS `description`,count(`host_links`.`device_id`) AS `cnt` from (`host_links` join `device`) where (`host_links`.`device_id` = `device`.`id`) group by `host_links`.`device_id` order by count(`host_links`.`device_id`) desc */;
606
607 --
608 --- View structure for view `UNIQUELIST`
609 +-- Final view structure for view `UNIQUELIST`
610 --
611
612 -/*!50001 DROP TABLE IF EXISTS `UNIQUELIST`*/;
613 +/*!50001 DROP TABLE `UNIQUELIST`*/;
614 /*!50001 DROP VIEW IF EXISTS `UNIQUELIST`*/;
615 /*!50001 CREATE ALGORITHM=UNDEFINED */
616 -/*!50013 DEFINER=`smoon`@`localhost` SQL SECURITY DEFINER */
617 +/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
618 /*!50001 VIEW `UNIQUELIST` AS select `device`.`description` AS `description`,count(distinct `host_links`.`host_link_id`) AS `cnt` from (`host_links` join `device`) where (`host_links`.`device_id` = `device`.`id`) group by `host_links`.`device_id` order by count(distinct `host_links`.`host_link_id`) desc */;
619
620 --
621 --- View structure for view `VENDOR`
622 +-- Final view structure for view `VENDOR`
623 --
624
625 -/*!50001 DROP TABLE IF EXISTS `VENDOR`*/;
626 +/*!50001 DROP TABLE `VENDOR`*/;
627 /*!50001 DROP VIEW IF EXISTS `VENDOR`*/;
628 /*!50001 CREATE ALGORITHM=UNDEFINED */
629 -/*!50013 DEFINER=`smoon`@`localhost` SQL SECURITY DEFINER */
630 +/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
631 /*!50001 VIEW `VENDOR` AS select `host`.`vendor` AS `vendor`,count(`host`.`vendor`) AS `cnt` from `host` where ((`host`.`vendor` <> _latin1'Unknown') and (`host`.`vendor` <> _latin1'')) group by `host`.`vendor` order by count(`host`.`vendor`) desc */;
632 /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
633
634 @@ -524,3 +532,4 @@
635 /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
636 /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
637
638 +-- Dump completed on 2010-01-14 16:33:44

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed