• Igor Babaev's avatar
    MDEV-27937 Assertion failure when executing prepared statement with ? in IN list · e048289e
    Igor Babaev authored
    This bug affected queries with IN predicates that contain parameter markers
    in the value list. Such queries are executed via prepared statements.
    The problem appeared only if the number of elements in the value list
    was greater than the set value of the system variable
    in_predicate_conversion_threshold.
    
    The patch unconditionally prohibits conversion of an IN predicate to the
    equivalent IN predicand if the value list of the IN predicate contains
    parameters markers.
    
    Approved by Oleksandr Byelkin <sanja@mariadb.com>
    e048289e
opt_tvc.result 25.2 KB