[MDEV-5979] Server crashes on truncating a temporary InnoDB table on Windows Created: 2014-03-28 Updated: 2014-03-28 Resolved: 2014-03-28 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.0.9 |
| Fix Version/s: | 10.0.10 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Elena Stepanova | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Windows |
||
| Description |
|
|
| Comments |
| Comment by Sergei Petrunia [ 2014-03-28 ] | |||||||||||
|
The code in Sql_cmd_truncate_table::handler_truncate goes like this:
if is_tmp_table==true, then 'flags' will have garbage value which will be | |||||||||||
| Comment by Vladislav Vaintroub [ 2014-03-28 ] | |||||||||||
|
Microsoft compiler adds runtime checks for uninitialized variables in debug version (of course, it also complains during compilation about possibly uninitialized variables |