mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge branch '10.6' into 10.7
This commit is contained in:
@@ -1751,6 +1751,18 @@ bool Item_func_ucase::fix_length_and_dec()
|
||||
}
|
||||
|
||||
|
||||
bool Item_func_left::hash_not_null(Hasher *hasher)
|
||||
{
|
||||
StringBuffer<STRING_BUFFER_USUAL_SIZE> buf;
|
||||
String *str= val_str(&buf);
|
||||
DBUG_ASSERT((str == NULL) == null_value);
|
||||
if (!str)
|
||||
return true;
|
||||
hasher->add(collation.collation, str->ptr(), str->length());
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
String *Item_func_left::val_str(String *str)
|
||||
{
|
||||
DBUG_ASSERT(fixed());
|
||||
|
Reference in New Issue
Block a user