drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-5369) Missing initialization for ServerMetaContext
Date Mon, 20 Mar 2017 18:49:41 GMT

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

ASF GitHub Bot commented on DRILL-5369:
---------------------------------------

GitHub user laurentgo opened a pull request:

    https://github.com/apache/drill/pull/791

    DRILL-5369: Add initializer for ServerMetaContext

    ServerMetaContext had no default constructor. The lack of it
    might cause m_done to be set to true, same for other variables.
    
    Add a default constructor to explicitly initialize its members.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/laurentgo/drill laurent/DRILL-5369

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/drill/pull/791.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #791
    
----
commit a4dc9e853e7a986f8fca8434f0e65b4d7a129918
Author: Laurent Goujon <laurent@dremio.com>
Date:   2017-03-20T18:46:58Z

    DRILL-5369: Add initializer for ServerMetaContext
    
    ServerMetaContext had no default constructor. The lack of it
    might cause m_done to be set to true, same for other variables.
    
    Add a default constructor to explicitly initialize its members.

----


> Missing initialization for ServerMetaContext
> --------------------------------------------
>
>                 Key: DRILL-5369
>                 URL: https://issues.apache.org/jira/browse/DRILL-5369
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Client - C++
>            Reporter: Laurent Goujon
>            Assignee: Laurent Goujon
>
> {{ServerMetaContext}} is not initialized properly which might cause some unexpected issues
(like getMetadata() returning before receiving the answer) in some cases.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message