Skip to content

Commit

Permalink
execution plan: removed query duplication in execute comman (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
OfirMos authored Jul 29, 2021
1 parent 08e5a8c commit bb8c03e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redisgraph/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ def execution_plan(self, query, params=None):
if params is not None:
query = self._build_params_header(params) + query

plan = self.redis_con.execute_command("GRAPH.EXPLAIN", self.name, query, query)
plan = self.redis_con.execute_command("GRAPH.EXPLAIN", self.name, query)
return self._execution_plan_to_string(plan)

def delete(self):
Expand Down

0 comments on commit bb8c03e

Please sign in to comment.