mysql update multiple columns with same now()

I need to update 2 datetime columns, and I need them to be exactly the same, using mysql version 4.1.20. I'm using this query:

mysql> update table set last_update=now(), last_monitor=now() where id=1;

It is safe or there is a chance that the columns are update with different time, because of the 2 visible calls to now()?
Я не думаю, что его можно обновить с помощью других значений (я думаю, что внутренне mysql вызывает now () только один раз для каждой строки или что-то подобное), но я не эксперт, как вы думаете?

Обновление: Второй вопрос был извлечен здесь .

80
задан Radu Maris 23 May 2019 в 06:32
поделиться