Why does the sql query
UPDATE `singleent` SET `pre_timestamp` = CURRENT_TIMESTAMP WHERE listingType = 1
give error whereas
UPDATE `singleent` SET `pre_timestamp` = CURRENT_TIMESTAMP WHERE 1
or
UPDATE `singleent` SET `pre_timestamp` = CURRENT_TIMESTAMP
runs perfectly?
Edit:
The column type is timestamp and the error was:
Truncated incorrect static value: select listingType