MySQL 9.1.0
Source Code Documentation
|
Interface to SQL expression constant folding. More...
#include "sql/item.h"
Go to the source code of this file.
Functions | |
bool | fold_condition (THD *thd, Item *cond, Item **retcond, Item::cond_result *cond_value, bool manifest_result=false) |
Fold boolean condition {=, <>, >, >=, <, <=, <=>} involving constants and fields (or references to fields), possibly determining if the condition is always true or false based on type range of the field, or possibly simplifying >=, <= to = if constant lies on the range border. More... | |
Interface to SQL expression constant folding.