You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Xiao Meng (JIRA)" <ji...@apache.org> on 2014/06/04 18:45:03 UTC

[jira] [Commented] (DRILL-899) C++ Client. VS 2010 will populate a debug error for comparing two iterators in empty map

    [ https://issues.apache.org/jira/browse/DRILL-899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14017843#comment-14017843 ] 

Xiao Meng commented on DRILL-899:
---------------------------------

It is been resolved by DRILL-875. This issue should be closed.

> 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
>         Attachments: DRILL-899.1.patch
>
>
> 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)