Skip to content

Commit

Permalink
additional fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksandr Smyslov committed Dec 12, 2024
1 parent fb66672 commit b79f6e8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ def get_sql_from_submodule_diff(self, **kwargs):
target = kwargs.get('target')
diff_dict = kwargs.get('diff_dict')
ignore_whitespaces = kwargs.get('ignore_whitespaces')
ignore_partitions = kwargs.get('ignore_partitions')
diff = ''

# Get the difference DDL/DML statements for table
Expand Down Expand Up @@ -171,7 +172,8 @@ def get_sql_from_submodule_diff(self, **kwargs):
"source": source,
"target": target,
"target_schema": target_schema,
"ignore_whitespaces": ignore_whitespaces
"ignore_whitespaces": ignore_whitespaces,
"ignore_partitions": ignore_partitions
}
diff = self._compare_source_and_target(
intersect_keys, module_view, source_params,
Expand Down
3 changes: 2 additions & 1 deletion web/pgadmin/tools/schema_diff/directory_compare.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,8 @@ def _get_identical_and_different_list(intersect_keys, source_dict, target_dict,
target_params=temp_tgt_params,
source=dict1[key], target=dict2[key], diff_dict=diff_dict,
target_schema=target_schema,
ignore_whitespaces=ignore_whitespaces)
ignore_whitespaces=ignore_whitespaces,
ignore_partitions=ignore_partitions)
else:
temp_src_params = copy.deepcopy(source_params)
temp_tgt_params = copy.deepcopy(target_params)
Expand Down

0 comments on commit b79f6e8

Please sign in to comment.