Is this a known problem?
select * from 'tablename' where INET_ATON('any valid ip');
Shows the entire db. I accidentally forget to add ipaddress = INET_ATON('ip');
and cganged the entire db.
Is this a known problem?
select * from 'tablename' where INET_ATON('any valid ip');
Shows the entire db. I accidentally forget to add ipaddress = INET_ATON('ip');
and cganged the entire db.
What you query with is basically equivalent to:
select * from 'tablename'
where 1
The WHERE
clause is always true, so all table rows are returned.