From 4203f572aeebb55ad97c9576d58c0a14ed73862a Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Wed, 2 May 2018 17:55:00 +0200 Subject: MDEV-15923 option to control who can set session @@timestamp --secure-timestamp=NO|SUPER|REPLICATION|YES --- sql/mysqld.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sql/mysqld.h') diff --git a/sql/mysqld.h b/sql/mysqld.h index 3b2a887d764..2e829e81a0d 100644 --- a/sql/mysqld.h +++ b/sql/mysqld.h @@ -302,6 +302,9 @@ extern my_bool encrypt_binlog; extern my_bool encrypt_tmp_disk_tables, encrypt_tmp_files; extern ulong encryption_algorithm; extern const char *encryption_algorithm_names[]; +extern long opt_secure_timestamp; + +enum secure_timestamp { SECTIME_NO, SECTIME_SUPER, SECTIME_REPL, SECTIME_YES }; #ifdef HAVE_PSI_INTERFACE #ifdef HAVE_MMAP -- cgit v1.2.1