I’m debugging an old website, and I get some SQL errors.
When I went through it, I found the following query.
UPDATE boats
set new_high_date == DATE_ADD(NOW(), INTERVAL 3 MONTH)
WHERE id=49701
I don’t know what the == here means. Is this a valid query?
I cannot seem to execute it.
I’m not sure if I should change this, or does it mean something?
There is no double equal in MySQL so you should remove it.