News for hackers. Stuff that matters.
Re:Up to 12M websites may have been compromised via Drupal v... by mappu on Sunday November 02, 2014 @12:56AM (#8545670)
Then what do you do if the passed tuple has zero length?

Dynamically rewriting the SQL isn't going to be tractable in all cases - doing `IN (NULL)` might be a valid value - and throwing an exception is poor form for an actually valid case.

Re:Up to 12M websites may have been compromised via Drupal v... by SapphireSun on Wednesday November 05, 2014 @12:45AM (#8560661)
Check for bad inputs? I'm not saying this is a cure all, but it's a lot better than not being able to use arrays at all.