Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xiedeyantu committed Apr 7, 2024
1 parent 3505ce8 commit 3181054
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions be/src/vec/functions/function_string.h
Original file line number Diff line number Diff line change
Expand Up @@ -351,10 +351,8 @@ class FunctionStrcmp : public IFunction {
}
}

static void vector_vector(
const ColumnString& vec0,
const ColumnString& vec1,
ColumnInt16& res) {
static void vector_vector(const ColumnString& vec0, const ColumnString& vec1,
ColumnInt16& res) {
size_t size = vec0.size();
for (size_t i = 0; i < size; ++i) {
res.get_data()[i] = vec0.get_data_at(i).compare(vec1.get_data_at(i));
Expand Down

0 comments on commit 3181054

Please sign in to comment.