https://bugzilla.wikimedia.org/show_bug.cgi?id=48853

       Web browser: ---
            Bug ID: 48853
           Summary: SQL: NULL in an IN-list should be written as OR
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Database
          Assignee: [email protected]
          Reporter: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

> print_r($dbr->makeList(array('a'=>array(null,2)),LIST_OR));
a IN (NULL,'2') 

Expected: a IS NULL OR a = '2'

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to