One would expect to have to specify that with an asterisk or something and have blank just give a syntax error.
UPDATE t SET foo='bar' WHERE baz LIKE '$INPUT';
This will do no changes when $INPUT is empty, and only with $INPUT set to '%' will it update every record.