View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
553 | RackTables | default | public | 2012-05-03 19:36 | 2012-05-11 15:20 |
Reporter | Assigned To | adoom42 | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Target Version | 0.20.0 | Fixed in Version | 0.20.0 | ||
Summary | 553: SQL query syntax error | ||||
Description | Minor SQL query typo. Here's a patch: $ svn update At revision 5075. $ svn diff Index: wwwroot/inc/database.php =================================================================== --- wwwroot/inc/database.php (revision 5075) +++ wwwroot/inc/database.php (working copy) @@ -1294,7 +1294,7 @@ // and racks that it is 'Zero-U' mounted in $result = usePreparedSelectBlade ( - 'SELECT DISTINCT RS.rack_id FROM RackSpace RS LEFT JOIN EntityLink EL ON RS.object_id = EL.parent_entity_id AND EL.parent_entity_type = ?' . + 'SELECT DISTINCT RS.rack_id FROM RackSpace RS LEFT JOIN EntityLink EL ON RS.object_id = EL.parent_entity_id AND EL.parent_entity_type = ? ' . 'WHERE RS.object_id = ? or EL.child_entity_id = ? ' . 'UNION ' . "SELECT parent_entity_id AS rack_id FROM EntityLink where parent_entity_type = 'rack' AND child_entity_type = 'object' AND child_entity_id = ? " . | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2012-05-03 19:36 |
|
New Issue | |
2012-05-11 15:20 | adoom42 | Note Added: 0000670 | |
2012-05-11 15:20 | adoom42 | Assigned To | => adoom42 |
2012-05-11 15:20 | adoom42 | Status | new => closed |
2012-05-11 15:20 | adoom42 | Resolution | open => fixed |
2012-05-11 15:20 | adoom42 | Fixed in Version | => 0.20.0 |
2012-05-11 15:20 | adoom42 | Target Version | => 0.20.0 |