mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed a typo in the psycopg2 driver in fetching result with
'execute_scalar' while attempting to reconnect.
This commit is contained in:
parent
9113932066
commit
1889c256e1
@ -868,7 +868,7 @@ WHERE
|
|||||||
if not self.connected():
|
if not self.connected():
|
||||||
if self.auto_reconnect and not self.reconnecting:
|
if self.auto_reconnect and not self.reconnecting:
|
||||||
return self.__attempt_execution_reconnect(
|
return self.__attempt_execution_reconnect(
|
||||||
self.execute_dict, query, params,
|
self.execute_scalar, query, params,
|
||||||
formatted_exception_msg
|
formatted_exception_msg
|
||||||
)
|
)
|
||||||
raise ConnectionLost(
|
raise ConnectionLost(
|
||||||
|
Loading…
Reference in New Issue
Block a user