mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge 10.7 into 10.8
This commit is contained in:
@@ -6604,16 +6604,6 @@ int spider_db_mbase_util::open_item_func(
|
||||
last_str = SPIDER_SQL_CLOSE_PAREN_STR;
|
||||
last_str_length = SPIDER_SQL_CLOSE_PAREN_LEN;
|
||||
break;
|
||||
#ifdef MARIADB_BASE_VERSION
|
||||
case Item_func::XOR_FUNC:
|
||||
#else
|
||||
case Item_func::COND_XOR_FUNC:
|
||||
#endif
|
||||
if (str)
|
||||
str->length(str->length() - SPIDER_SQL_OPEN_PAREN_LEN);
|
||||
DBUG_RETURN(
|
||||
spider_db_open_item_cond((Item_cond *) item_func, spider, str,
|
||||
alias, alias_length, dbton_id, use_fields, fields));
|
||||
case Item_func::TRIG_COND_FUNC:
|
||||
DBUG_RETURN(ER_SPIDER_COND_SKIP_NUM);
|
||||
case Item_func::GUSERVAR_FUNC:
|
||||
@@ -6698,6 +6688,7 @@ int spider_db_mbase_util::open_item_func(
|
||||
case Item_func::LE_FUNC:
|
||||
case Item_func::GE_FUNC:
|
||||
case Item_func::GT_FUNC:
|
||||
case Item_func::XOR_FUNC:
|
||||
if (str)
|
||||
{
|
||||
LEX_CSTRING org_func_name= item_func->func_name_cstring();
|
||||
|
Reference in New Issue
Block a user