crash fix in distinct (strict weak ordering)

This commit is contained in:
vaclavt
2022-05-31 19:25:47 +02:00
parent 33f7cba493
commit a063e14f3e
3 changed files with 1 additions and 7 deletions

View File

@@ -157,9 +157,6 @@ void Row::setColumnValue(ColDefNode *col_def, ValueNode *col_value) {
int Row::compare(const Row &other) const {
for (size_t ci = 0; ci < m_columns.size(); ci++) {
// CRASHES HERE
// auto a = this->operator[](ci).getStringValue();
// auto b = other[ci].getStringValue();
int cmp = this->operator[](ci).compare(other[ci]);
if (cmp != 0) return cmp;
}