summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlaixintao <laixintaoo@gmail.com>2022-06-16 22:30:54 +0800
committerlaixintao <laixintaoo@gmail.com>2022-06-16 22:30:54 +0800
commit6ecd07888c11b69deabb854c025168ada4c961b2 (patch)
tree99b5a1e39730b67c0912d5870729285ffcc2fb8f
parent854a18d2d57440df70b7b060a7c2d91f7fee4c42 (diff)
fix typo statment -> statement
-rw-r--r--mycli/myclirc2
-rw-r--r--mycli/packages/parseutils.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/mycli/myclirc b/mycli/myclirc
index 2418342..8365a1c 100644
--- a/mycli/myclirc
+++ b/mycli/myclirc
@@ -27,7 +27,7 @@ log_level = INFO
# line below.
# audit_log = ~/.mycli-audit.log
-# Timing of sql statments and table rendering.
+# Timing of sql statements and table rendering.
timing = True
# Beep after long-running queries are completed; 0 to disable.
diff --git a/mycli/packages/parseutils.py b/mycli/packages/parseutils.py
index d47f59a..3090530 100644
--- a/mycli/packages/parseutils.py
+++ b/mycli/packages/parseutils.py
@@ -143,7 +143,7 @@ def extract_table_identifiers(token_stream):
# extract_tables is inspired from examples in the sqlparse lib.
def extract_tables(sql):
- """Extract the table names from an SQL statment.
+ """Extract the table names from an SQL statement.
Returns a list of (schema, table, alias) tuples