Fixed an issue where target connection is wrong while checking version compatibility in schema diff.
parent
0fcfe63092
commit
3f089f31a3
|
|
@ -709,7 +709,7 @@ def check_version_compatibility(sid, tid):
|
|||
|
||||
tar_server = Server.query.filter_by(id=tid).first()
|
||||
tar_manager = driver.connection_manager(tar_server.id)
|
||||
target_conn = src_manager.connection()
|
||||
target_conn = tar_manager.connection()
|
||||
|
||||
if not (src_conn.connected() and target_conn.connected()):
|
||||
return False, gettext('Server(s) disconnected.')
|
||||
|
|
|
|||
Loading…
Reference in New Issue