Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | [filters] Stripping parenthesis whitespace | John Bodley | 2019-03-10 | 1 | -3/+3 | |
| | ||||||
* | Fix formatting on INSERT (fixes #329) | Fredy Wijaya | 2019-03-10 | 2 | -4/+50 | |
| | | | | | | | | | | | | | | | | | | | | This patch fixes the formatting on INSERT by creating a new instance of sql.Values to group all the values. SQL: insert into foo values (1, 'foo'), (2, 'bar'), (3, 'baz') Before: insert into foo values (1, 'foo'), (2, 'bar'), (3, 'baz') After: insert into foo values (1, 'foo'), (2, 'bar'), (3, 'baz') | |||||
* | Merge branch 'issue_425' of https://github.com/fredyw/sqlparse into ↵ | Andreas Albrecht | 2019-03-10 | 1 | -0/+13 | |
|\ | | | | | | | fredyw-issue_425 | |||||
| * | Fix issue with strip_comments causing a syntax error (fixes #425) | Fredy Wijaya | 2018-11-21 | 1 | -0/+13 | |
| | | ||||||
* | | Code cleanup. | Andreas Albrecht | 2019-03-10 | 1 | -2/+2 | |
| | | ||||||
* | | Revamped pprint_tree | MrVallentin | 2019-01-07 | 1 | -53/+53 | |
| | | ||||||
* | | Fix from( parsing issue (fixes #446) | Fredy Wijaya | 2018-12-03 | 1 | -0/+18 | |
| | | ||||||
* | | Fix reindent issue for parenthesis (fixes issue 427) | Fredy Wijaya | 2018-12-03 | 2 | -0/+26 | |
|/ | ||||||
* | Correct spelling (#407) | Josh Soref | 2018-05-18 | 2 | -5/+5 | |
| | | | | | | | | | | | | | | | | * spelling: choice * spelling: duplicate * spelling: identifier * spelling: issue * spelling: parenthesis * spelling: split * spelling: statements | |||||
* | Use https:// for URLs where available | Jon Dufresne | 2018-04-13 | 1 | -4/+4 | |
| | ||||||
* | Deal with long function params | Soloman Weng | 2018-03-26 | 1 | -0/+12 | |
| | ||||||
* | Fix issue with get_real_name returning incorrect name | Fredy Wijaya | 2018-03-21 | 1 | -0/+9 | |
| | ||||||
* | Fix incorrect splitting with double quotes and a new line | Fredy Wijaya | 2018-03-09 | 1 | -0/+10 | |
| | ||||||
* | Fix typostypo | Victor Uriarte | 2017-11-29 | 4 | -6/+6 | |
| | ||||||
* | Merge pull request #364 from jdufresne/flake8 | Andi Albrecht | 2017-11-21 | 1 | -2/+2 | |
|\ | | | | | Fix flake8 warning with newer flake8 version | |||||
| * | Fix flake8 warning with newer flake8 version | Jon Dufresne | 2017-10-28 | 1 | -2/+2 | |
| | | | | | | | | | | Report "ambiguous variable name 'l'", replace with a more descriptive name. | |||||
* | | Fix unclosed file warnings discovered during tests | Jon Dufresne | 2017-10-28 | 1 | -3/+4 | |
|/ | | | | | | | | Appear as: ResourceWarning: unclosed file ... Always explicitly close files or detach file wrappers. | |||||
* | Close files during tests. | Andi Albrecht | 2017-09-24 | 2 | -10/+11 | |
| | ||||||
* | Fix handling of semicolon when grouping assignments (fixes #359). | Andi Albrecht | 2017-09-24 | 1 | -0/+10 | |
| | | | | | | When grouping assignments that contain a semicolon itself, the engine was too greedy. Assignments with semicolon were introduced in 691c0400e5a7d8229b7dce09bf47176539add328. | |||||
* | Merge branch 'master' into master | Andi Albrecht | 2017-09-21 | 2 | -2/+14 | |
|\ | ||||||
| * | Fix parsing of UNION ALL after WHERE (fixes #349). | Andi Albrecht | 2017-07-29 | 1 | -0/+9 | |
| | | ||||||
| * | Recognize MySQL table names starting with digits (fixes #337). | Andi Albrecht | 2017-05-25 | 1 | -2/+5 | |
| | | ||||||
* | | adds '1.' option support for float numbers regex | atronah | 2017-04-30 | 1 | -0/+14 | |
|/ | ||||||
* | Re-order parsing so that comparisons are seens as identifiers (fixes #327). | Andi Albrecht | 2017-04-18 | 1 | -0/+14 | |
| | ||||||
* | Fix parsing of INTO keyword in WHERE clauses (fixes #324). | Andi Albrecht | 2017-03-02 | 1 | -0/+8 | |
| | ||||||
* | Fix line length | Rowan Seymour | 2017-02-09 | 1 | -1/+2 | |
| | ||||||
* | CONCURRENTLY should be handled as a keyword | Rowan Seymour | 2017-02-09 | 1 | -0/+12 | |
| | ||||||
* | Update test with new behavior | Victor Uriarte | 2017-02-07 | 1 | -2/+3 | |
| | ||||||
* | Add another CLI encoding test | Victor Uriarte | 2017-01-22 | 1 | -0/+8 | |
| | | | | This one I couldn't get to pass on my attempt | |||||
* | CLI: Add --encoding option | Tao Wang | 2017-01-12 | 3 | -0/+66 | |
| | | | | | | | | * Add `--encoding` option with default utf-8 * Make sure input and output are in same encoding * Add test cases Signed-off-by: Tao Wang <twang2218@gmail.com> | |||||
* | Fix #315 support utf-8 by default | Tao Wang | 2017-01-11 | 1 | -0/+19 | |
| | | | | Signed-off-by: Tao Wang <twang2218@gmail.com> | |||||
* | Fix an edge-case with subselects in CASE clauses. | Andi Albrecht | 2016-10-24 | 1 | -0/+10 | |
| | ||||||
* | Fix special case for #284 when statement starts with orphaned AS. | Andi Albrecht | 2016-10-24 | 1 | -4/+7 | |
| | ||||||
* | Handle operator grouping after identifying typecasts (fixes #297). | Andi Albrecht | 2016-10-01 | 1 | -0/+14 | |
| | ||||||
* | Parametrize test. | Andi Albrecht | 2016-10-01 | 1 | -10/+9 | |
| | ||||||
* | Fix parsing of UNION ALL (fixes #294). | Andi Albrecht | 2016-09-26 | 1 | -0/+6 | |
| | ||||||
* | Better formatting when using comma-first notation (issue141). | Andi Albrecht | 2016-09-17 | 1 | -4/+4 | |
| | ||||||
* | Add formatter option for comma first notation (fixes #141). | Andi Albrecht | 2016-09-14 | 1 | -0/+15 | |
| | ||||||
* | Fix parsing of names containing special chars (fixes 291). | Andi Albrecht | 2016-09-14 | 1 | -0/+14 | |
| | ||||||
* | Decode bytes to unicode in Lexer.get_tokens(). | Oleg Broytman | 2016-08-31 | 1 | -1/+19 | |
| | | | | | | | Raise TypeError if the input is neither bytes in a known encoding nor unicode nor a file-like object (file, StringIO). Remove function u(). Add bytes_type to compat. Add tests for non-ascii. | |||||
* | Merge pull request #285 from vmuriart/unify_naming_schema | Andi Albrecht | 2016-08-24 | 1 | -1/+1 | |
|\ | | | | | Unify_naming_schema. Closes #283 | |||||
| * | Unify_naming_schema. Closes #283 | Victor Uriarte | 2016-08-22 | 1 | -1/+1 | |
| | | ||||||
* | | Fix #284 as grouping | Victor Uriarte | 2016-08-22 | 1 | -0/+6 | |
| | | ||||||
* | | Fix test that wasn't running | Victor Uriarte | 2016-08-22 | 1 | -1/+1 | |
|/ | ||||||
* | Parse double dollars (PostgreSQL) as literal strings (fixes #277). | Andi Albrecht | 2016-08-13 | 3 | -1/+33 | |
| | ||||||
* | Don't rely on line breaks in tests. | Andi Albrecht | 2016-08-13 | 2 | -2/+2 | |
| | ||||||
* | Merge pull request #279 from phdru/issue-190 | Vik | 2016-08-05 | 1 | -0/+7 | |
|\ | | | | | closes #190 | |||||
| * | Fix a bug: recognize file (Python 2) as a stream | Oleg Broytman | 2016-08-06 | 1 | -0/+7 | |
| | | ||||||
* | | Avoid double apostrophes | Oleg Broytman | 2016-08-06 | 1 | -0/+6 | |
|/ | | | | | | | | If the value is Single it's already quoted with apostrophes. Avoid double apostrophes it that case by using double-quotes instead. For example, if the value is 'value' the output is "'value'" instead of ''value''. | |||||
* | Failing test: stream worked in 0.1.19 | Gordon McCreight | 2016-07-21 | 3 | -0/+16 | |
| |