[Rt-commit] rt branch, 4.0/remove-quoted-null, created. rt-4.0.0-281-gd895a33

Shawn Moore sartak at bestpractical.com
Fri May 13 17:48:37 EDT 2011


The branch, 4.0/remove-quoted-null has been created
        at  d895a3398207635ea8d98f933f260cc1cc1ad44e (commit)

- Log -----------------------------------------------------------------
commit d895a3398207635ea8d98f933f260cc1cc1ad44e
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Fri May 13 17:47:12 2011 -0400

    TicketSQL has support for IS (NOT) NULL nowadays
    
        The 2004 ticket speaks of:
            -my $re_value = qr[$RE{delimited}{-delim=>qq{\'\"}}|\d+];
            +my $re_value = qr[$RE{delimited}{-delim=>qq{\'\"}}|\d+|(?-i:NULL)];
    
        but it is now:
            my $re_value       = qr[[+-]?\d+|NULL|$re_delim];

diff --git a/share/html/Search/Build.html b/share/html/Search/Build.html
index 91c254f..ba5045b 100644
--- a/share/html/Search/Build.html
+++ b/share/html/Search/Build.html
@@ -227,10 +227,6 @@ foreach my $arg ( keys %ARGS ) {
             elsif ( $op eq '!=' ) {
                 $op = "IS NOT";
             }
-
-            # This isn't "right", but...
-            # It has to be this way until #5182 is fixed
-            $value = "'NULL'";
         }
         else {
             $value =~ s/'/\\'/g;

-----------------------------------------------------------------------


More information about the Rt-commit mailing list