diff options
| author | Andi Albrecht <albrecht.andi@gmail.com> | 2013-05-10 05:41:51 +0200 |
|---|---|---|
| committer | Andi Albrecht <albrecht.andi@gmail.com> | 2013-05-10 05:41:51 +0200 |
| commit | 706977ad962e4c476fc908ccb463f4079dedb650 (patch) | |
| tree | 1dd1068b6ef7a682d937e3b5f062029f47774456 | |
| parent | f14d17e2fabad1f57c77ff10573a4d8248270d96 (diff) | |
| download | sqlparse-706977ad962e4c476fc908ccb463f4079dedb650.tar.gz | |
Update authors and changelog.
| -rw-r--r-- | AUTHORS | 3 | ||||
| -rw-r--r-- | CHANGES | 2 | ||||
| -rw-r--r-- | tests/test_parse.py | 2 |
3 files changed, 5 insertions, 2 deletions
@@ -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 @@ -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)) |
