sync: 鍚屾灞€鍩熺綉鏈€鏂颁唬鐮?(source master @ b69568e4)
This commit is contained in:
1 parent
4f7f07504a
commit
8bc8b0e082
1651 files changed
+278599
-11416
No files matched your search
@@ -463,6 +463,13 @@ async def _set_analytics_read_timeout(session) -> None:
|
||||
(5.6 raises "Unknown system variable" otherwise)
|
||||
- PostgreSQL/openGauss: ``statement_timeout`` (milliseconds)
|
||||
"""
|
||||
from deerflow.persistence.gauss_mysql_compat import is_gauss_mysql_product
|
||||
|
||||
# Dolphin does not implement either MySQL session variable below. A failed
|
||||
# SET aborts the current openGauss transaction, so skip before touching it.
|
||||
if is_gauss_mysql_product():
|
||||
return
|
||||
|
||||
conn = await session.connection()
|
||||
dialect = conn.dialect
|
||||
name = dialect.name
|
||||
|
||||
Reference in new issue
Block a user