IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 4, 2009, 3:58:25 PM (17 years ago)
Author:
bills
Message:

add some partenthesis

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/src/magictool.c

    r26033 r26034  
    153153        psStringAppend(&queryWhereStr, "\n%s (magic_id IS NULL", queryWhereStr ? "AND" : "WHERE");
    154154        if (rerun) {
    155             psStringAppend(&queryWhereStr, " OR magicRun.label != '%s')", label);
    156         } else {
    157             psStringAppend(&queryWhereStr, ") ");
    158         }
     155            psStringAppend(&queryWhereStr, " OR (magicRun.label != '%s')", label);
     156        }
     157        psStringAppend(&queryWhereStr, ") ");
    159158
    160159        // now add the user specified qualifiers
Note: See TracChangeset for help on using the changeset viewer.