Skip to content

Commit

Permalink
build: bump pymysql
Browse files Browse the repository at this point in the history
Actual fix for this bandaid fix: frappe#20475

Keeping pymysql hard pinned until we have better way to get last full
query.
  • Loading branch information
ankush committed Mar 28, 2023
1 parent 229dcb3 commit 239af2a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frappe/database/mariadb/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def get_database_size(self):
return db_size[0].get("database_size")

def log_query(self, query, values, debug, explain):
self.last_query = query = self._cursor._last_executed
self.last_query = query = self._cursor._executed
self._log_query(query, debug, explain)
return self.last_query

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ dependencies = [
"Jinja2~=3.1.2",
"Pillow~=9.3.0",
"PyJWT~=2.4.0",
"PyMySQL==1.0.2",
"PyMySQL==1.0.3",
"PyPDF2~=2.1.0",
"PyPika~=0.48.9",
"PyQRCode~=1.2.1",
Expand Down

0 comments on commit 239af2a

Please sign in to comment.