summaryrefslogtreecommitdiff
path: root/storage/connect/ha_connect.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mnogosearch.org>2013-03-22 11:28:58 +0400
committerAlexander Barkov <bar@mnogosearch.org>2013-03-22 11:28:58 +0400
commit79f84fdc77b154f69104a081efef01e791c5518e (patch)
tree867892669e9af4769b1a6d1d3a4046721d9ba938 /storage/connect/ha_connect.h
parentc52d88743064266976702a2df01407bc9130f0f5 (diff)
downloadmariadb-git-79f84fdc77b154f69104a081efef01e791c5518e.tar.gz
- Require FILE privilege for the file based TABLE_TYPEs
when FILE_NAME is specified - Require FILE privileges for the TABLE_TYPEs that access to the underlying operating system: ODBC, MYSQL, DIR, MAC, WMI, OEM. added: mysql-test/suite/connect/t/grant.inc modified: mysql-test/suite/connect/r/bin.result mysql-test/suite/connect/t/bin.test storage/connect/ha_connect.cc storage/connect/ha_connect.h
Diffstat (limited to 'storage/connect/ha_connect.h')
-rw-r--r--storage/connect/ha_connect.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/connect/ha_connect.h b/storage/connect/ha_connect.h
index d42613d418e..31c699ef216 100644
--- a/storage/connect/ha_connect.h
+++ b/storage/connect/ha_connect.h
@@ -361,6 +361,7 @@ const char *GetValStr(OPVAL vop, bool neg);
int optimize(THD* thd, HA_CHECK_OPT* check_opt);
protected:
+ bool check_privileges(THD *thd, TABLE *table_arg);
char *GetListOption(const char *opname, const char *oplist, const char *def= NULL);
#if defined(MARIADB)
char *encode(PGLOBAL g, char *cnm);