summaryrefslogtreecommitdiff
path: root/sql/sql_acl.cc
diff options
context:
space:
mode:
authorbell@sanja.is.com.ua <>2005-10-31 22:14:27 +0200
committerbell@sanja.is.com.ua <>2005-10-31 22:14:27 +0200
commitc54d129224234342942dc0b7549dbf969c624ebc (patch)
tree2fe29852e1f4b1f8aad1961fd544fa3a44400487 /sql/sql_acl.cc
parent1137a376a7262134672364cc3c73029864d9b1f7 (diff)
downloadmariadb-git-c54d129224234342942dc0b7549dbf969c624ebc.tar.gz
postreview fixes
Diffstat (limited to 'sql/sql_acl.cc')
-rw-r--r--sql/sql_acl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_acl.cc b/sql/sql_acl.cc
index bc8b9ba2efb..2b5945b74af 100644
--- a/sql/sql_acl.cc
+++ b/sql/sql_acl.cc
@@ -3532,7 +3532,7 @@ bool check_grant(THD *thd, ulong want_access, TABLE_LIST *tables,
of other queries). For simple queries first_not_own_table is 0.
*/
for (i= 0, table= tables;
- table && table != first_not_own_table && i < number;
+ table != first_not_own_table && i < number;
table= table->next_global, i++)
{
/* Remove SHOW_VIEW_ACL, because it will be checked during making view */