1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-15888 Implement FLUSH TABLES tbl_name [, tbl_name] ... WITH READ LOCK for views.

privilege checks for tables flushed via views
This commit is contained in:
Sergei Golubchik
2021-07-02 00:05:27 +02:00
parent b5f50e2de8
commit 164a64baa3
5 changed files with 74 additions and 15 deletions

View File

@ -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