mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge 10.6 into 10.7
This commit is contained in:
@@ -5608,7 +5608,7 @@ void Item_func_like::print(String *str, enum_query_type query_type)
|
||||
longlong Item_func_like::val_int()
|
||||
{
|
||||
DBUG_ASSERT(fixed());
|
||||
DBUG_ASSERT(escape != -1);
|
||||
DBUG_ASSERT(escape != ESCAPE_NOT_INITIALIZED);
|
||||
String* res= args[0]->val_str(&cmp_value1);
|
||||
if (args[0]->null_value)
|
||||
{
|
||||
@@ -5712,7 +5712,7 @@ bool fix_escape_item(THD *thd, Item *escape_item, String *tmp_str,
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
IF_DBUG(*escape= -1,);
|
||||
IF_DBUG(*escape= ESCAPE_NOT_INITIALIZED,);
|
||||
|
||||
if (escape_item->const_item())
|
||||
{
|
||||
|
Reference in New Issue
Block a user