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:
parent
d4a3e4d92c
commit
a60cfd3cc3
@ -720,8 +720,8 @@ def check_version_compatibility(sid, tid):
|
||||
'Advanced Server.')
|
||||
|
||||
def get_round_val(x):
|
||||
if x < 10000:
|
||||
return x if x % 100 == 0 else x + 100 - x % 100
|
||||
if x < 100000:
|
||||
return x + 100 - x % 100
|
||||
else:
|
||||
return x + 10000 - x % 10000
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user