~maria-captains/maria/5.2

Viewing all changes in revision 2502.1190.1.

BUG#13979418: SHOW BINLOG EVENTS MAY CRASH THE SERVER

The function mysql_show_binlog_events has a local stack variable
'LOG_INFO linfo;', which is assigned to thd->current_linfo, however
this variable goes out of scope and is destroyed before clean
thd->current_linfo.

The problem is solved by moving 'LOG_INFO linfo;' to function scope.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: