[Rt-commit] r17107 - rt/3.8/trunk/lib/RT
ruz at bestpractical.com
ruz at bestpractical.com
Thu Dec 4 22:31:11 EST 2008
Author: ruz
Date: Thu Dec 4 22:31:11 2008
New Revision: 17107
Modified:
rt/3.8/trunk/lib/RT/Attachments_Overlay.pm
Log:
* don't apply NOT LIKE '' on Oracle for blob column
Modified: rt/3.8/trunk/lib/RT/Attachments_Overlay.pm
==============================================================================
--- rt/3.8/trunk/lib/RT/Attachments_Overlay.pm (original)
+++ rt/3.8/trunk/lib/RT/Attachments_Overlay.pm Thu Dec 4 22:31:11 2008
@@ -165,6 +165,8 @@
VALUE => 'NULL',
QUOTEVALUE => 0,
);
+
+ # http://rt3.fsck.com/Ticket/Display.html?id=12483
if ( RT->Config->Get('DatabaseType') ne 'Oracle' ) {
$self->Limit(
ENTRYAGGREGATOR => 'AND',
@@ -172,13 +174,6 @@
OPERATOR => '!=',
VALUE => '',
);
- } else {
- $self->Limit(
- ENTRYAGGREGATOR => 'AND',
- FIELD => 'Content',
- OPERATOR => 'NOT MATCHES',
- VALUE => '',
- );
}
return;
}
More information about the Rt-commit
mailing list