summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorptmcg <ptmcg@austin.rr.com>2021-04-13 03:10:17 -0500
committerptmcg <ptmcg@austin.rr.com>2021-04-13 03:10:17 -0500
commitb5b1fdd1c0a3dfffbbad206e885d59e6015015a8 (patch)
tree9eb783fbb075d959ab31ba8e90c048c828a32395
parent9e8ad930fefc3611e4c70ba612af7fd6b974fb85 (diff)
downloadpyparsing-git-b5b1fdd1c0a3dfffbbad206e885d59e6015015a8.tar.gz
#261 - fix table name in sql2dot.py example
-rw-r--r--CHANGES5
-rw-r--r--examples/sql2dot.py2
2 files changed, 5 insertions, 2 deletions
diff --git a/CHANGES b/CHANGES
index 77cc433..a71cfd8 100644
--- a/CHANGES
+++ b/CHANGES
@@ -5,9 +5,12 @@ Change Log
Version 3.0.0c1 - April, 2021
-----------------------------
- Removed internal comparison of results values against b"", which
- raised a BytesWarning when run with `python -bb`. Fixes issue reported
+ raised a BytesWarning when run with `python -bb`. Fixes issue #271 reported
by Florian Bruhin, thank you!
+- Fixed STUDENTS table in sql2dot.py example, fixes issue #261 reported by
+ legrandlegrand - much better.
+
Version 3.0.0b2 - December, 2020
--------------------------------
diff --git a/examples/sql2dot.py b/examples/sql2dot.py
index ca22ed8..73db323 100644
--- a/examples/sql2dot.py
+++ b/examples/sql2dot.py
@@ -8,7 +8,7 @@
# Adapted from a post at https://energyblog.blogspot.com/2006/04/blog-post_20.html.
#
sampleSQL = """
-create table student
+create table students
(
student_id integer primary key,
firstname varchar(20),