summaryrefslogtreecommitdiff
path: root/sql/sql_acl.cc
diff options
context:
space:
mode:
authorSergey Glukhov <Sergey.Glukhov@sun.com>2008-12-24 18:45:47 +0400
committerSergey Glukhov <Sergey.Glukhov@sun.com>2008-12-24 18:45:47 +0400
commit4794f463b6e4b14eea3656df14753ab23611afaf (patch)
tree055708cfccb3ca216f5e3c5c4bae71fbcc04c1f3 /sql/sql_acl.cc
parente138336894c047298b10c476f961e57abb9faf75 (diff)
downloadmariadb-git-4794f463b6e4b14eea3656df14753ab23611afaf.tar.gz
compiler warning fix
Diffstat (limited to 'sql/sql_acl.cc')
-rw-r--r--sql/sql_acl.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_acl.cc b/sql/sql_acl.cc
index 57029f46162..22135d376fe 100644
--- a/sql/sql_acl.cc
+++ b/sql/sql_acl.cc
@@ -5953,6 +5953,7 @@ int wild_case_compare(CHARSET_INFO *cs, const char *str,const char *wildstr)
}
+#ifndef NO_EMBEDDED_ACCESS_CHECKS
static bool update_schema_privilege(THD *thd, TABLE *table, char *buff,
const char* db, const char* t_name,
const char* column, uint col_length,
@@ -5973,6 +5974,7 @@ static bool update_schema_privilege(THD *thd, TABLE *table, char *buff,
table->field[i]->store(is_grantable, strlen(is_grantable), cs);
return schema_table_store_record(thd, table);
}
+#endif
int fill_schema_user_privileges(THD *thd, TABLE_LIST *tables, COND *cond)