diff options
author | Sergei Golubchik <serg@mariadb.org> | 2018-05-02 21:53:12 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2018-05-12 10:16:46 +0200 |
commit | a4272bf154acf0e35b4b678812024b43a0c57829 (patch) | |
tree | b586567adc4344660452561cf578260ae4a3c8f5 /sql/sql_yacc.yy | |
parent | 4203f572aeebb55ad97c9576d58c0a14ed73862a (diff) | |
download | mariadb-git-a4272bf154acf0e35b4b678812024b43a0c57829.tar.gz |
versioning: use @@timestamp
Don't use hidden system time in versioning,
but keep the system time logic in THD
to workaround low-res system clock and
replication not versioned to versioned.
This reverts MDEV-14788 (System versioning cannot
be based on local timestamps, as it is now).
Versioning is based on local timestamps again,
but timestamps are protected by MDEV-15923
(option to control who can set session @@timestamp).
Diffstat (limited to 'sql/sql_yacc.yy')
-rw-r--r-- | sql/sql_yacc.yy | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_yacc.yy b/sql/sql_yacc.yy index 9608620d88c..9e6d53883ad 100644 --- a/sql/sql_yacc.yy +++ b/sql/sql_yacc.yy @@ -5907,7 +5907,7 @@ opt_versioning_rotation: opt_versioning_interval_start: /* empty */ { - $$= thd->systime(); + $$= thd->query_start(); } | STARTS_SYM ulong_num { |