fix some core in local test: (#6594)
1. insert very large string value may coredump
2. some analitic functiuon and agg function result may be incorrect
3. string compare may be coredump when string type is too large
4. string type in delete condition can not process correctly
5. add text/blob as alias of string to compitable with mysql
6. fix string type min/max agg may process incorrectly
This commit is contained in:
@ -20,7 +20,7 @@
|
||||
#include "runtime/string_value.hpp"
|
||||
|
||||
namespace doris {
|
||||
int ir_string_compare(const char* s1, int n1, const char* s2, int n2) {
|
||||
int ir_string_compare(const char* s1, int64_t n1, const char* s2, int64_t n2) {
|
||||
return string_compare(s1, n1, s2, n2, std::min(n1, n2));
|
||||
}
|
||||
} // namespace doris
|
||||
|
||||
Reference in New Issue
Block a user