Fixed an issue while checking the major version of servers in schema diff.
parent
d4a3e4d92c
commit
a60cfd3cc3
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue