Commit f0590db
committed
MDEV-33591 MONITOR_INC_VALUE_CUMULATIVE is executed regardless of "if" condition
MONITOR_INC_VALUE_CUMULATIVE is a multiline macro, so the second statement will be executed always, regardless of "if" condition. These problems first started with commit b1ab211 (MDEV-15053). Thanks to Yury Chaikou from ServiceNow for the report.1 parent 7d36919 commit f0590db
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1389 | 1389 | | |
1390 | 1390 | | |
1391 | 1391 | | |
| 1392 | + | |
1392 | 1393 | | |
1393 | 1394 | | |
1394 | 1395 | | |
1395 | 1396 | | |
| 1397 | + | |
1396 | 1398 | | |
1397 | 1399 | | |
1398 | 1400 | | |
| |||
1543 | 1545 | | |
1544 | 1546 | | |
1545 | 1547 | | |
| 1548 | + | |
1546 | 1549 | | |
1547 | 1550 | | |
1548 | 1551 | | |
1549 | 1552 | | |
| 1553 | + | |
1550 | 1554 | | |
| 1555 | + | |
1551 | 1556 | | |
1552 | 1557 | | |
1553 | 1558 | | |
1554 | 1559 | | |
| 1560 | + | |
1555 | 1561 | | |
1556 | 1562 | | |
1557 | 1563 | | |
| |||
0 commit comments