[Rt-commit] r10316 - in rt/branches/3.7-EXPERIMENTAL: .
ruz at bestpractical.com
ruz at bestpractical.com
Sun Jan 13 17:52:40 EST 2008
Author: ruz
Date: Sun Jan 13 17:52:40 2008
New Revision: 10316
Modified:
rt/branches/3.7-EXPERIMENTAL/ (props changed)
rt/branches/3.7-EXPERIMENTAL/lib/RT/Tickets_Overlay.pm
Log:
r10140 at cubic-pc: cubic | 2008-01-07 01:57:12 +0300
* drop XXX comment as problem has been fixed in SB 1.48 which is required
Modified: rt/branches/3.7-EXPERIMENTAL/lib/RT/Tickets_Overlay.pm
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/lib/RT/Tickets_Overlay.pm (original)
+++ rt/branches/3.7-EXPERIMENTAL/lib/RT/Tickets_Overlay.pm Sun Jan 13 17:52:40 2008
@@ -949,14 +949,6 @@
return $self->{'_sql_role_group_aliases'}{ $args{'Type'} }
if $self->{'_sql_role_group_aliases'}{ $args{'Type'} } && !$args{'New'};
- # XXX: this has been fixed in DBIx::SB-1.48
- # XXX: if we change this from Join to NewAlias+Limit
- # then Pg and mysql 5.x will complain because SB build wrong query.
- # Query looks like "FROM (Tickets LEFT JOIN CGM ON(Groups.id = CGM.GroupId)), Groups"
- # Pg doesn't like that fact that it doesn't know about Groups table yet when
- # join CGM table into Tickets. Problem is in Join method which doesn't use
- # ALIAS1 argument when build braces.
-
# we always have watcher groups for ticket, so we use INNER join
my $groups = $self->Join(
ALIAS1 => 'main',
More information about the Rt-commit
mailing list