You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudberry.apache.org by av...@apache.org on 2024/12/27 11:17:43 UTC

(cloudberry) 04/13: Fix typo.

This is an automated email from the ASF dual-hosted git repository.

avamingli pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudberry.git

commit 989902c65da1fb5e97a4e7d999e453c6412e048f
Author: Junwang Zhao <zh...@gmail.com>
AuthorDate: Thu Sep 22 11:44:43 2022 +0800

    Fix typo.
---
 gpMgmt/bin/gppylib/db/dbconn.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gpMgmt/bin/gppylib/db/dbconn.py b/gpMgmt/bin/gppylib/db/dbconn.py
index f6633827b7..1643e207ee 100644
--- a/gpMgmt/bin/gppylib/db/dbconn.py
+++ b/gpMgmt/bin/gppylib/db/dbconn.py
@@ -283,7 +283,7 @@ def execSQL(conn, sql, autocommit=True):
     transaction.
     For SQL that captures some expected output, use "query()"
 
-    Using with `dbconn.connect() as conn` syntax will override autocommit and complete
+    Using `with dbconn.connect() as conn` syntax will override autocommit and complete
     queries in a transaction followed by a commit on context close
     """
     conn.autocommit = autocommit
@@ -294,7 +294,7 @@ def query(conn, sql):
     """
     Run SQL that is expected to return some rows of output
 
-    returns a cursor, which can then be used to itirate through all rows
+    returns a cursor, which can then be used to iterate through all rows
     or return them in an array.
     """
     cursor=conn.cursor()


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org
For additional commands, e-mail: commits-help@cloudberry.apache.org