<b>6.0.0.2140</b>
ChudaykinAlex 2026.08.11 06:07:44
Convert string literals to the operand type at prepare time in comparisons (#9108)
* Implementation of Literal Conversion Optimization
* Reworked the special date/time expression check per review
Replaced the hardcoded 'NOW'/'TODAY'/'TOMORROW'/'YESTERDAY' strings in DSQL
with the new CVT_get_special_datetime(), so that both CVT_string_to_datetime()
and the literal conversion optimization share a single table of the special
expressions instead of duplicating it.
The temporary buffer holding a word being parsed is no longer sized after the
YESTERDAY macro: its length is now derived from both the special expressions
and the English month names, and a longer word raises a conversion error
instead of being silently truncated.
* Correction: I forgot to add the type handling.

Changed paths:
  M src/common/cvt.cpp
  M src/common/cvt.h
  M src/dsql/BoolNodes.cpp
  M src/dsql/make.cpp
  M src/dsql/make_proto.h