|
@@ -447,7 +447,8 @@ class Route_UrlAction_BiAuditGraph extends RouteBase {
|
|
|
left join `{$allTables['Point']}` as t_Point on ( t_Point.ID = r_Path_to_Point.REMOTE_PRIMARY_KEY )
|
|
left join `{$allTables['Point']}` as t_Point on ( t_Point.ID = r_Path_to_Point.REMOTE_PRIMARY_KEY )
|
|
|
{$sqlFromJoin}
|
|
{$sqlFromJoin}
|
|
|
where t_Raport.ID = {$raportId}
|
|
where t_Raport.ID = {$raportId}
|
|
|
- ";
|
|
|
|
|
|
|
+ limit 300
|
|
|
|
|
+ "; //TODO DEBUG LIMIT OPTIMALIZATION - HANGS
|
|
|
return DB::getPDO()->fetchAll($sql);
|
|
return DB::getPDO()->fetchAll($sql);
|
|
|
}
|
|
}
|
|
|
|
|
|