mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed an issue while checking the major version of servers in schema diff.
This commit is contained in:
@@ -720,8 +720,8 @@ def check_version_compatibility(sid, tid):
|
|||||||
'Advanced Server.')
|
'Advanced Server.')
|
||||||
|
|
||||||
def get_round_val(x):
|
def get_round_val(x):
|
||||||
if x < 10000:
|
if x < 100000:
|
||||||
return x if x % 100 == 0 else x + 100 - x % 100
|
return x + 100 - x % 100
|
||||||
else:
|
else:
|
||||||
return x + 10000 - x % 10000
|
return x + 10000 - x % 10000
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user