[open-ils-commits] r9859 -
branches/rel_1_2_2/Open-ILS/src/perlmods/OpenILS/Reporter
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Jun 18 21:24:05 EDT 2008
Author: miker
Date: 2008-06-18 21:24:04 -0400 (Wed, 18 Jun 2008)
New Revision: 9859
Modified:
branches/rel_1_2_2/Open-ILS/src/perlmods/OpenILS/Reporter/SQLBuilder.pm
Log:
SQL generation bug on nullable joins
Modified: branches/rel_1_2_2/Open-ILS/src/perlmods/OpenILS/Reporter/SQLBuilder.pm
===================================================================
--- branches/rel_1_2_2/Open-ILS/src/perlmods/OpenILS/Reporter/SQLBuilder.pm 2008-06-19 01:22:44 UTC (rev 9858)
+++ branches/rel_1_2_2/Open-ILS/src/perlmods/OpenILS/Reporter/SQLBuilder.pm 2008-06-19 01:24:04 UTC (rev 9859)
@@ -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