forked from huawei/openGauss-server
Update gsql_execute.py
This commit is contained in:
parent
43c3001415
commit
313e3c4e00
|
|
@ -184,13 +184,13 @@ class GSqlExecute(ExecuteFactory):
|
|||
|
||||
return cost_total
|
||||
|
||||
#
|
||||
def parse_explain_plan(self, workload, index_config, res, ori_indexes_name, select_sql_pos):
|
||||
i = 0
|
||||
hypo_index_num = 0
|
||||
total_cost = 0
|
||||
found_plan = False
|
||||
hypo_index = False
|
||||
# create hypo-indexes
|
||||
for line in res:
|
||||
if 'QUERY PLAN' in line:
|
||||
found_plan = True
|
||||
|
|
|
|||
Loading…
Reference in New Issue