drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiao Meng (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-899) C++ Client. VS 2010 will populate a debug error for comparing two iterators in empty map
Date Wed, 04 Jun 2014 16:45:03 GMT

    [ 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)

Mime
View raw message