Both Ways Bug Me
by in Representative Line on 2026-08-25There are many cases where some sort of debugging block sneaks by, especially cases where we see preprocessors or templates working, which leave us with nonsense like if (true == false) running in production. But Codemonkey found a new twist on that sort of thing, in a SQL query being run in production.
WHERE (some conditions) AND (1 = 0 OR (1 = 1 AND (other conditions)))
