Server crashes on NAME_CONST containing AND/OR expressions

Description

See the following revision in mysql/5.6 tree:

Stack trace in 10.0:

Stack trace in 5.1:

Environment

None

Assignee

Sergei Golubchik

Reporter

Elena Stepanova

Labels

None

Fix versions

Affects versions

Priority

Major
Configure