btree/bt_split.c: Fix parens around && in || warning.

This commit is contained in:
Paul Sokolovsky 2016-06-15 02:12:44 +03:00
parent 7eae88acd1
commit a11216f356

View file

@ -673,8 +673,8 @@ bt_psplit(t, h, l, r, pskip, ilen)
* where we decide to try and copy too much onto the left page. * where we decide to try and copy too much onto the left page.
* Make sure that doesn't happen. * Make sure that doesn't happen.
*/ */
if (skip <= off && if ((skip <= off &&
used + nbytes + sizeof(indx_t) >= full || nxt == top - 1) { used + nbytes + sizeof(indx_t) >= full) || nxt == top - 1) {
--off; --off;
break; break;
} }