To reproduce with current 5.3, one needs to
set optimizer_switch='optimize_join_buffer_size=on';
(the default for the flag was changed to OFF in revno:3111)
To reproduce with current 5.3, one needs to
set optimizer_ switch= 'optimize_ join_buffer_ size=on' ;
(the default for the flag was changed to OFF in revno:3111)