[MDEV-15735] mariadb-10.2.14/storage/connect/filamtxt.cpp:429]: (style) Suspicious condition Created: 2018-03-29 Updated: 2018-10-28 Resolved: 2018-05-10 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - Connect |
| Affects Version/s: | 10.2 |
| Fix Version/s: | 10.0.36, 10.1.34, 10.2.15, 10.3.7 |
| Type: | Bug | Priority: | Minor |
| Reporter: | David Binderman | Assignee: | Olivier Bertrand |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | beginner-friendly | ||
| Description |
|
mariadb-10.2.14/storage/connect/filamtxt.cpp:429]: (style) Suspicious condition (assignment + comparison); Clarify expression with parentheses. Source code is if ((irc = InitDelete(g, Posar->GetIntValue(ix[i]), Maybe better code if ((irc = InitDelete(g, Posar->GetIntValue(ix[i]), |
| Comments |
| Comment by Olivier Bertrand [ 2018-05-10 ] |
|
Thanks for reporting. Your solution was applied. |