Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing coercion when recording select(string, ...)
Thanks to Peter Cawley. (cherry picked from commit 92b89d0) Before the patch, the recording of `select()` with a string argument leads to the following IR: | rcx > int CONV "1" int.num index Where the operand has string type instead of number type. This leads to the corresponding mcode: | cvttsd2si ecx, xmm1 Where xmm1 has an undefined value. Thus leads to the undefined behaviour for the recording trace. This patch adds the missing coercion. Sergey Kaplun: * added the description and the test for the problem Part of tarantool/tarantool#10199 Reviewed-by: Sergey Bronnikov <[email protected]> Reviewed-by: Maxim Kokryashkin <[email protected]> Signed-off-by: Sergey Kaplun <[email protected]>
- Loading branch information