Skip to content
Snippets Groups Projects
Commit d197d107 authored by Nikita Pettik's avatar Nikita Pettik Committed by Konstantin Osipov
Browse files

sql: refactor sql_expr_coll and sql_binary_compare_coll_seq

Lets make sql_expr_coll() return error code. It is needed since we are
going to use this function to detect operands of concatenation with
incompatible collations. Hence, struct coll* has been moved to output
parameters.  For the same reason lets make sql_binary_compare_coll_seq()
return error code instead of struct coll*. The latter is really required
only in one out of six usages, so lets remove it at all.

Needed for #3947
parent 6630729e
No related branches found
No related tags found
Loading
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