For purposes of constant reduction, treat dynamic functions (e.g. CURRENT_TIMESTAMP) as non-deterministic. Otherwise a prepared statement with time-dependent functions will give the same result each time it is executed, which would be wrong.