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/03 21:47:02 UTC

[jira] [Updated] (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:all-tabpanel ]

Xiao Meng updated DRILL-899:
----------------------------

    Attachment: DRILL-899.1.patch

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