Skip to content

Commit

Permalink
Fix region id in mock dag
Browse files Browse the repository at this point in the history
  • Loading branch information
zanmato1984 committed Aug 12, 2019
1 parent 2d093a8 commit c8cd3d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbms/src/Debug/dbgFuncCoprocessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ BlockInputStreamPtr dbgFuncDAG(Context & context, const ASTs & args)
if (!region)
throw Exception("No such region", ErrorCodes::BAD_ARGUMENTS);
}
tipb::SelectResponse dag_response = executeDAGRequest(context, dag_request, region_id, region->version(), region->confVer());
tipb::SelectResponse dag_response = executeDAGRequest(context, dag_request, region->id(), region->version(), region->confVer());

return outputDAGResponse(context, schema, dag_response);
}
Expand Down

0 comments on commit c8cd3d7

Please sign in to comment.