[MDEV-3502] LP:814238 - safe_mutex issues must be assertions in debug binary Created: 2011-07-21 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: | Minor |
| Reporter: | Philip Stoev (Inactive) | Assignee: | Michael Widenius |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Launchpad | ||
| Attachments: |
|
| Description |
|
All safe_mutex warnings must cause assertions in a debug binary. If they are simply reported in the error log with no other indication, they are very difficult to detect in an automatic test. |
| Comments |
| Comment by Michael Widenius [ 2011-07-26 ] |
|
Re: safe_mutex issues must be assertions in debug binary I have however added a new option --debug-assert-on-error, which should be used by automatic tests that wants asserts for things like this. Setting this new variable also sets --debug-assert-if-crashed-table. |
| Comment by Rasmus Johansson (Inactive) [ 2011-12-02 ] |
|
Launchpad bug id: 814238 |