• Bruce Momjian's avatar
    the following patch fixes a bug in the oracle compatibility · f22c6f92
    Bruce Momjian authored
        functions btrim() ltrim() and rtrim().
    
        The error was that the character after the set  was  included
        in the tests (ptr2 pointed to the character after the vardata
        part of set if no match found,  so  comparing  *ptr  or  *end
        against *ptr2 MAY match -> strip).
    
    
    Jan
    
    --
    
    #======================================================================#
    # It's easier to get forgiveness for being wrong than for being
    right. # # Let's break this rule - forgive me.
    # #======================================== jwieck@debis.com (Jan
    Wieck) #
    f22c6f92
oracle_compat.c 9.74 KB