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:
@ -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)))
|
||||
{
|
||||
/*
|
||||
|
Reference in New Issue
Block a user