[open-ils-commits] r9857 -
trunk/Open-ILS/src/perlmods/OpenILS/Reporter
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Jun 18 21:22:20 EDT 2008
Author: miker
Date: 2008-06-18 21:22:19 -0400 (Wed, 18 Jun 2008)
New Revision: 9857
Modified:
trunk/Open-ILS/src/perlmods/OpenILS/Reporter/SQLBuilder.pm
Log:
SQL generation bug on nullable joins
Modified: trunk/Open-ILS/src/perlmods/OpenILS/Reporter/SQLBuilder.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Reporter/SQLBuilder.pm 2008-06-18 20:45:40 UTC (rev 9856)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Reporter/SQLBuilder.pm 2008-06-19 01:22:19 UTC (rev 9857)
@@ -931,7 +931,7 @@
my $rel = $self->find_relation();
if ($rel && $rel->is_nullable) {
- $sql = "(". $self->SUPER::toSQL ." IS NULL OR ";
+ $sql = "((". $self->SUPER::toSQL .") IS NULL OR ";
}
$sql .= $self->SUPER::toSQL;
More information about the open-ils-commits
mailing list