Wrong result (0 instead of NULL) on 2nd execution of PS with LEFT JOIN, TEMPTABLE view

Description

The problem appeared on the 5.5 tree with the following revision:

However it doesn't seem to be reproducible on 5.3 tree after the merged revision.

Test case:

Actual result:

Expected result:

Environment

None

Assignee

Oleksandr Byelkin

Reporter

Elena Stepanova

Labels

None

Fix versions

Affects versions

Priority

Major
Configure