Skip to content
Snippets Groups Projects
Denis Smirnov's avatar
Denis Smirnov authored
We had a problem with the queries like:

select * from t1 where (a, b) in (select c, d from ...)

The root of the problem was that in a case of multiple references
to the subquery ((a, b) in (ref_c_sq, ref_d_sq)) we tried to bind
parameters multiple times that caused subtraction overflow and UB.
As a fix we stop binding parameters more than once.

Co-authored-by: default avatarms.evilhat <ms.evilhat@gmail.com>
87b26fe2
History
Name Last commit Last update