You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gm...@apache.org on 2016/03/28 17:10:19 UTC

qpid-dispatch git commit: DISPATCH-179 - Increment counter j in qdr_agent_set_columns so that the query->columns is set correctly

Repository: qpid-dispatch
Updated Branches:
  refs/heads/master 5f3d7aa53 -> 9b51e699a


DISPATCH-179 - Increment counter j in qdr_agent_set_columns so that the query->columns is set correctly


Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/9b51e699
Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/9b51e699
Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/9b51e699

Branch: refs/heads/master
Commit: 9b51e699a280ce700c812e2e4177dde191499a4c
Parents: 5f3d7aa
Author: Ganesh Murthy <gm...@redhat.com>
Authored: Mon Mar 28 11:09:56 2016 -0400
Committer: Ganesh Murthy <gm...@redhat.com>
Committed: Mon Mar 28 11:09:56 2016 -0400

----------------------------------------------------------------------
 src/router_core/agent.c | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/9b51e699/src/router_core/agent.c
----------------------------------------------------------------------
diff --git a/src/router_core/agent.c b/src/router_core/agent.c
index 485d738..61237ce 100644
--- a/src/router_core/agent.c
+++ b/src/router_core/agent.c
@@ -289,9 +289,11 @@ static void qdr_agent_set_columns(qdr_query_t *query,
                     query->columns[idx] = j;
                     break;
                 }
+                j+=1;
             }
         }
     }
+    query->columns[idx+1] = -1;
 }
 
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org