Commit 9856d0de by maarten

preforked server

git-svn-id: svn+ssh://gitlab/srv/svn-repos/pdb-redo/trunk@355 a1961a4f-ab94-4bcc-80e8-33b5a54de466
parent a2a1e63e
...@@ -2174,8 +2174,13 @@ void Row::assign(const Item& value, bool emplacing) ...@@ -2174,8 +2174,13 @@ void Row::assign(const Item& value, bool emplacing)
size_t Row::ColumnForItemTag(const char* itemTag) const size_t Row::ColumnForItemTag(const char* itemTag) const
{ {
auto cat = mData->mCategory; size_t result = 0;
return cat->getColumnIndex(itemTag); if (mData != nullptr)
{
auto cat = mData->mCategory;
result = cat->getColumnIndex(itemTag);
}
return result;
} }
bool Row::empty() const bool Row::empty() const
......
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