1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Windows : reenable warning C4805 (unsafe mix of types in bool operations)

This commit is contained in:
Vladislav Vaintroub
2018-02-06 17:14:05 +00:00
parent 7bcf5e2907
commit d995dd2865
27 changed files with 43 additions and 43 deletions

View File

@ -7602,8 +7602,8 @@ bool check_grant(THD *thd, ulong want_access, TABLE_LIST *tables,
we need to modify the requested access rights depending on how the
sequence is used.
*/
if (t_ref->sequence &
(orig_want_access &
if (t_ref->sequence &&
(bool)(orig_want_access &
(SELECT_ACL | INSERT_ACL | UPDATE_ACL | DELETE_ACL)))
{
/*