Bug #15101 sysdate() digregards SET TIMESTAMP
| Submitted: | 21 Nov 2005 15:27 | Modified: | 12 Apr 2006 20:30 |
|---|---|---|---|
| Reporter: | Kristian Koehntopp | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: Replication | Severity: | S1 (Critical) |
| Version: | 5.0.15/5.0.17 bk | OS: | Any (all) |
| Assigned to: | Andrei Elkin | CPU Architecture: | Any |
[21 Nov 2005 15:27]
Kristian Koehntopp
[28 Jan 2006 13:37]
Andrei Elkin
Have reproduced with 5.0.19. Manual specifies the only difference between sysdate() and now() regards to stored procedure. I suspect there was a bug introduced for sysdate() handling in sp. If now() respects what `set timestamp' tells so must do sysdate(). Any other claims?
[24 Feb 2006 15:41]
Elliot Murphy
Probably related to bug#12480
[24 Feb 2006 15:43]
Elliot Murphy
See also bug#12481
[11 Mar 2006 13:04]
Andrei Elkin
fixed in 5.0.20 and 5.1.8-beta.
For documentation.
SYSDATE has two flavors
default: to be indeterministic oracle-like to return system timestamps
different even within a query (starting from the fix for BUG#12562);
It is thereafter replication-unsafe.
and alias to NOW() (this bug fix) as in 4.1 to alias new features of NOW for
BUG#12480,BUG#12481 in 5.0 as well.
Replication-safe aliasing of SYSDAT() to NOW() is actived via a new --sysdate-is-now server startup option.
[12 Apr 2006 20:30]
Paul DuBois
The 5.0.13 change to SYSDATE() to cause it to differ from NOW() has implications for binary logging, stored routines, replication. Requires changes to: - NOW() and SYSDATE() function descriptions - Server options (--sysdate-is-now is new) - Replication known problems - Stored routine logging - Changelog sections (5.0.20, 5.1.8) - Upgrading-to-5.0 notes
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.063 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.