Commit e20111b5 by Maarten L. Hekkelman

small optimization

parent e8f24f61
......@@ -2947,6 +2947,9 @@ void Row::assign(size_t column, const std::string &value, bool skipUpdateLinked,
if (oldValue != nullptr and value == oldValue) // no need to update
return;
if (oldValue == nullptr and value.empty()) // no need to update either
return;
std::string oldStrValue = oldValue ? oldValue : "";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment