memory crash here
This commit is contained in:
3
row.cpp
3
row.cpp
@@ -157,6 +157,9 @@ 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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user