summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndi Albrecht <albrecht.andi@gmail.com>2013-05-10 05:41:51 +0200
committerAndi Albrecht <albrecht.andi@gmail.com>2013-05-10 05:41:51 +0200
commit706977ad962e4c476fc908ccb463f4079dedb650 (patch)
tree1dd1068b6ef7a682d937e3b5f062029f47774456
parentf14d17e2fabad1f57c77ff10573a4d8248270d96 (diff)
downloadsqlparse-706977ad962e4c476fc908ccb463f4079dedb650.tar.gz
Update authors and changelog.
-rw-r--r--AUTHORS3
-rw-r--r--CHANGES2
-rw-r--r--tests/test_parse.py2
3 files changed, 5 insertions, 2 deletions
diff --git a/AUTHORS b/AUTHORS
index c4e43e2..24c8608 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -12,4 +12,5 @@ Alphabetical list of contributors:
* Piet Delport <pjdelport@gmail.com>
* Yago Riveiro <yago.riveiro@gmail.com>
* quest <quest@wonky.windwards.net>
-* vthriller <farreva232@yandex.ru> \ No newline at end of file
+* vthriller <farreva232@yandex.ru>
+* wayne.wuw <wayne.wuw@alibaba-inc.com> \ No newline at end of file
diff --git a/CHANGES b/CHANGES
index f3785f8..25b1c87 100644
--- a/CHANGES
+++ b/CHANGES
@@ -4,6 +4,8 @@ Development Version
Enhancements
* Improve parsing of assignments in UPDATE statements (issue90).
* Add STRAIGHT_JOIN statement (by Yago Riveiro).
+* Function.get_parameters() now returns the parameter if only one parameter is
+ given (issue94, by wayne.wuw).
Release 0.1.7 (Apr 06, 2013)
diff --git a/tests/test_parse.py b/tests/test_parse.py
index ab4e674..7016af9 100644
--- a/tests/test_parse.py
+++ b/tests/test_parse.py
@@ -107,7 +107,7 @@ class SQLParseTest(TestCaseBase):
self.assertEqual(len(t), 1)
self.assert_(isinstance(t[0], sqlparse.sql.Identifier))
- def test_function_parameter(self): # see issue94
+ def test_function_parameter(self): # see issue94
t = sqlparse.parse('abs(some_col)')[0].tokens[0].get_parameters()
self.assertEqual(len(t), 1)
self.assert_(isinstance(t[0], sqlparse.sql.Identifier))