Xiao Meng created DRILL-899:
-------------------------------
Summary: C++ Client. VS 2010 will populate a debug error for
comparing two iterators in empty map
Key: DRILL-899
URL: https://issues.apache.org/jira/browse/DRILL-899
Project: Apache Drill
Issue Type: Bug
Components: Client - C++
Reporter: Xiao Meng
Assignee: Xiao Meng
Priority: Minor
If m_queryIds is empty (e.g., when we terminate a hanging query), the following
code will populate will throw a debug error ("map/set iterators incompatible")
for comparing iterator for empty map.
{code}
for(iter = m_queryIds.begin() ; iter != m_queryIds.end(); iter++) {
iter->second->signalError(pErr);
}
{code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)