Skip to content
Snippets Groups Projects
Commit 085ba61e authored by Nikita Pettik's avatar Nikita Pettik Committed by Kirill Yukhin
Browse files

sql: make <search condition> accept only boolean

<search condition> is a predicate used as a part of WHERE and JOIN
clauses. ANSI SQL states that <search condition> must accept only
boolean arguments. In our SQL it is implemented as bytecode instruction
OP_If which in turn carries out logic of conditional jump. Hence this
patch makes this opcode accept only boolean values.

Closes #3723
parent 101f87f5
No related branches found
No related tags found
No related merge requests found
Showing
with 98 additions and 120 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment