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(
That is incorrect, there is no double equal sign in sql. The correct way to set is
UPDATE boats
SET new_high_date = DATE_ADD(NOW(), INTERVAL 3 MONTH)
WHERE id = 49701
There is no double equal in MySQL so you should remove it.
Blindly you can remove them because MYSQL doesn't have any ==