mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
remove ULL() and LL(), because they're totally unnecessary
and sometimes harmful (used with expressions)
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
/* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
|
||||
/* Copyright (c) 2003, 2010, Oracle and/or its affiliates
|
||||
Copyright (c) 2009, 2013, Monty Program Ab.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@ -60,7 +61,7 @@ public:
|
||||
intersect(map2buff);
|
||||
if (map.n_bits > sizeof(ulonglong) * 8)
|
||||
bitmap_set_above(&map, sizeof(ulonglong),
|
||||
test(map2buff & (LL(1) << (sizeof(ulonglong) * 8 - 1))));
|
||||
test(map2buff & (1LL << (sizeof(ulonglong) * 8 - 1))));
|
||||
}
|
||||
void subtract(Bitmap& map2) { bitmap_subtract(&map, &map2.map); }
|
||||
void merge(Bitmap& map2) { bitmap_union(&map, &map2.map); }
|
||||
|
Reference in New Issue
Block a user