[ 
https://issues.apache.org/jira/browse/HAWQ-523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chunling Wang closed HAWQ-523.
------------------------------

> Dead code in executormgr_bind_executor_task()
> ---------------------------------------------
>
>                 Key: HAWQ-523
>                 URL: https://issues.apache.org/jira/browse/HAWQ-523
>             Project: Apache HAWQ
>          Issue Type: New Feature
>          Components: Dispatcher
>    Affects Versions: 2.0.0.0-incubating
>            Reporter: Chunling Wang
>            Assignee: Lili Ma
>             Fix For: 2.0.0.0-incubating
>
>
> In executormgr.c, the code below would never access:
> bool
> executormgr_bind_executor_task(struct DispatchData *data,
>                                                       QueryExecutor *executor,
>                                                       
> SegmentDatabaseDescriptor *desc,
>                                                       struct DispatchTask 
> *task,
>                                                       struct DispatchSlice 
> *slice)
> {
>       ...
>       if (desc == NULL)
>       {
>               executor->health = QEH_ERROR;
>               return false;
>       }
>       ...
> }



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to