[Rt-commit] [svn] r1100 - DBIx-SearchBuilder/trunk
jesse at pallas.eruditorum.org
jesse at pallas.eruditorum.org
Thu Jun 17 13:39:38 EDT 2004
Author: jesse
Date: Thu Jun 17 13:39:37 2004
New Revision: 1100
Modified:
DBIx-SearchBuilder/trunk/ (props changed)
DBIx-SearchBuilder/trunk/SearchBuilder.pm
Log:
----------------------------------------------------------------------
r1914 at tinbook: jesse | 2004-06-17T17:38:07.120334Z
Now when joining two tables to each other, postgres will no longer try to LOWER() one of them
----------------------------------------------------------------------
Modified: DBIx-SearchBuilder/trunk/SearchBuilder.pm
==============================================================================
--- DBIx-SearchBuilder/trunk/SearchBuilder.pm (original)
+++ DBIx-SearchBuilder/trunk/SearchBuilder.pm Thu Jun 17 13:39:37 2004
@@ -712,6 +712,7 @@
OPERATOR => '=',
SUBCLAUSE => undef,
CASESENSITIVE => undef,
+ QUOTEVALUE => undef,
@_ );
my ( $Clause, $QualifiedField );
@@ -784,7 +785,7 @@
if ( $self->_Handle->CaseSensitive && defined $args{'VALUE'} && $args{'VALUE'} ne '' && $args{'VALUE'} ne "''" && ($args{'OPERATOR'} !~/IS/ && $args{'VALUE'} !~ /^null$/i)) {
- unless ( $args{'CASESENSITIVE'} ) {
+ unless ( $args{'CASESENSITIVE'} || !$args{'QUOTEVALUE'} ) {
( $QualifiedField, $args{'OPERATOR'}, $args{'VALUE'} ) =
$self->_Handle->_MakeClauseCaseInsensitive( $QualifiedField,
$args{'OPERATOR'}, $args{'VALUE'} );
More information about the Rt-commit
mailing list