[MDEV-2656] LP:588251 - doStartTableScan() result not checked Created: 2010-06-02 Updated: 2015-02-02 Resolved: 2012-10-04 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Trivial |
| Reporter: | Stewart Smith | Assignee: | Michael Widenius |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Launchpad | ||
| Attachments: |
|
| Description |
|
In many places the error from doStartTableScan() is not checked. This can be spotted by adding warn_unused_result gcc attribute to it and seeing things fail. It can also be spotted by returning an error from doStartTableScan() and instead seeing drizzled core instead of be sensible. |
| Comments |
| Comment by Stewart Smith [ 2010-06-02 ] |
|
Re: doStartTableScan() result not checked — ../mysql-5.1.46/sql/handler.h 2010-04-07 00:06:06.000000000 +1000
|
| Comment by Rasmus Johansson (Inactive) [ 2010-07-16 ] |
|
Re: [Bug 588251] [NEW] doStartTableScan() result not checked We should really start adding in warn_unused_result attributes to things. Should I perhaps make us a pandora-build test/define for it? |
| Comment by Michael Widenius [ 2010-07-16 ] |
|
Re: doStartTableScan() result not checked |
| Comment by Stewart Smith [ 2010-07-17 ] |
|
Re: [Bug 588251] [NEW] doStartTableScan() result not checked yes. something that'll "just work" on non-gcc (apart from replacing them – |
| Comment by Rasmus Johansson (Inactive) [ 2011-01-09 ] |
|
Launchpad bug id: 588251 |