summaryrefslogtreecommitdiff
path: root/sql/sql_parse.cc
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2021-07-02 00:05:27 +0200
committerSergei Golubchik <serg@mariadb.org>2021-07-02 16:44:00 +0200
commit164a64baa3beb84e7a2c431cd136e22c9e3dbf81 (patch)
tree006fe3eb7ec8eba3819e988dbe667347d49f6957 /sql/sql_parse.cc
parentb5f50e2de8dd8f43f0975a3a913d808a54e87c8d (diff)
downloadmariadb-git-164a64baa3beb84e7a2c431cd136e22c9e3dbf81.tar.gz
MDEV-15888 Implement FLUSH TABLES tbl_name [, tbl_name] ... WITH READ LOCK for views.
privilege checks for tables flushed via views
Diffstat (limited to 'sql/sql_parse.cc')
-rw-r--r--sql/sql_parse.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc
index 8307cd0ed4d..2c6df6dbb03 100644
--- a/sql/sql_parse.cc
+++ b/sql/sql_parse.cc
@@ -98,8 +98,6 @@
#include "my_json_writer.h"
-#define PRIV_LOCK_TABLES (SELECT_ACL | LOCK_TABLES_ACL)
-
#define FLAGSTR(V,F) ((V)&(F)?#F" ":"")
#ifdef WITH_ARIA_STORAGE_ENGINE