1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Various compier warnings

gcc 5.4 and 7.1, Debug and Release builds
This commit is contained in:
Sergei Golubchik
2017-10-22 13:18:38 +02:00
parent 9d2e2d7533
commit 2aa51f528f
21 changed files with 48 additions and 210 deletions

View File

@ -634,9 +634,6 @@ bool ROLE_GRANT_PAIR::init(MEM_ROOT *mem, char *username,
char *hostname, char *rolename,
bool with_admin_option)
{
if (!this)
return true;
size_t uname_l = safe_strlen(username);
size_t hname_l = safe_strlen(hostname);
size_t rname_l = safe_strlen(rolename);
@ -10516,7 +10513,6 @@ bool check_role_is_granted(const char *username,
DBUG_RETURN(result);
}
int fill_schema_enabled_roles(THD *thd, TABLE_LIST *tables, COND *cond)
{
TABLE *table= tables->table;