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:
Zhengguo Yang
2021-09-10 09:52:03 +08:00
committed by GitHub
parent 30b54cae23
commit 4f744333c2
25 changed files with 130 additions and 165 deletions

View File

@ -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