memory crash here

This commit is contained in:
vaclavt
2022-05-23 21:17:21 +02:00
parent f3a43fdafc
commit 33f7cba493
3 changed files with 24 additions and 21 deletions

View File

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