[MDEV-473] Statistics: Server crashes in mysql_lock_merge if use_stat_tables is enabled and ANALYZE and ALTER TABLE are executed under lock Created: 2012-08-22 Updated: 2012-08-27 Resolved: 2012-08-27 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 10.0.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Igor Babaev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||
| Description |
|
bzr version-info
Reproducible with MyISAM, Aria, InnoDB, MEMORY. Test case:
|
| Comments |
| Comment by Sergei Petrunia [ 2012-08-23 ] |
|
I've tried to create a similar situation with logging-to-tables part. The last statement got written to mysql.general_log. Apparently, the presence of "LOCK TABLE" does not affect MySQL's ability to lock mysql.general_log, write there, and unlock it. |
| Comment by Igor Babaev [ 2012-08-27 ] |
|
The fix was pushed into maria-5.5-mwl248 |