Assertion `args[0] == args[2] || _current_thd()->lex->context_analysis_only' failed in Item_func_nullif::print(String*, enum_query_type)

Description

Stack trace from 10.1 commit 0251232f8c3bca33b4dd15d6668105f3de9d024d

bb-10.1-serg as of commit 5069ba1854418a2172da143875a0f1827b976ddb is also affected.
Not reproducible on 5.5, 10.0.

Environment

None

Assignee

Sergei Golubchik

Reporter

Elena Stepanova

Labels

None

Fix versions

Affects versions

Priority

Major
Configure