diff options
author | Sergei Golubchik <serg@mariadb.org> | 2018-05-02 17:55:00 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2018-05-12 10:16:45 +0200 |
commit | 4203f572aeebb55ad97c9576d58c0a14ed73862a (patch) | |
tree | 50771d8f00bc1264024c6b30626f7d09c52a4d0f /sql/mysqld.h | |
parent | bbf5cf4ddf1b5fe6f5c8604ce57502b9e12a7088 (diff) | |
download | mariadb-git-4203f572aeebb55ad97c9576d58c0a14ed73862a.tar.gz |
MDEV-15923 option to control who can set session @@timestamp
--secure-timestamp=NO|SUPER|REPLICATION|YES
Diffstat (limited to 'sql/mysqld.h')
-rw-r--r-- | sql/mysqld.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 |