mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed an issue where adding/updating records fails if the table name contains percent sign.
refs #4438
This commit is contained in:
committed by
Akshay Joshi
parent
408df750be
commit
68132e2a8f
@@ -1970,5 +1970,9 @@ Failed to reset the connection to the server due to following error:
|
||||
if not status:
|
||||
return None
|
||||
else:
|
||||
mogrified_sql = cursor.mogrify(query, parameters)
|
||||
return mogrified_sql
|
||||
|
||||
if parameters:
|
||||
mogrified_sql = cursor.mogrify(query, parameters)
|
||||
return mogrified_sql
|
||||
else:
|
||||
return query
|
||||
|
||||
Reference in New Issue
Block a user