Commit 70622eaa authored by Alexander Barkov's avatar Alexander Barkov

Fixing compilation failure in Windows: unknown symbol "any_db".

modified:
  storage/connect/ha_connect.cc
parent 8087daae
......@@ -2909,7 +2909,7 @@ bool ha_connect::check_privileges(THD *thd, PTOS options)
case TAB_INI:
case TAB_VEC:
return options->filename ?
check_access(thd, FILE_ACL, any_db, NULL, NULL, 0, 0) : false;
check_access(thd, FILE_ACL, NULL, NULL, NULL, 0, 0) : false;
case TAB_ODBC:
case TAB_MYSQL:
......@@ -2917,7 +2917,7 @@ bool ha_connect::check_privileges(THD *thd, PTOS options)
case TAB_MAC:
case TAB_WMI:
case TAB_OEM:
return check_access(thd, FILE_ACL, any_db, NULL, NULL, 0, 0);
return check_access(thd, FILE_ACL, NULL, NULL, NULL, 0, 0);
case TAB_TBL:
case TAB_PIVOT:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment