Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Returning clause ends where clause | Darik Gamble | 2016-06-25 | 1 | -0/+8 |
| | |||||
* | Format cli.py and add cli-tests | Victor Uriarte | 2016-06-20 | 1 | -0/+37 |
| | |||||
* | Split test/asserts that are weakly related | Victor Uriarte | 2016-06-20 | 1 | -8/+22 |
| | |||||
* | Parametrize tests | Victor Uriarte | 2016-06-20 | 5 | -153/+70 |
| | | | | | | Allows for tests to continue if the first assert had failed. In particular useful when certain change is dealing with two almost opposing edge cases. | ||||
* | Remove some test classes and clean-up | Victor Uriarte | 2016-06-20 | 6 | -1024/+1102 |
| | |||||
* | Replace tests/utils with conftest.py | Victor Uriarte | 2016-06-20 | 5 | -35/+55 |
| | | | | http://stackoverflow.com/questions/34466027/what-is-the-use-of-conftest-py | ||||
* | Replace other UnitTest with Py.Test | Victor Uriarte | 2016-06-20 | 8 | -462/+441 |
| | |||||
* | Replace ndiffAssertEqual with Py.Test | Victor Uriarte | 2016-06-20 | 6 | -314/+277 |
| | |||||
* | Merge pull request #265 from darikg/dont-ignore-skip_cm | Victor Uriarte | 2016-06-20 | 1 | -0/+6 |
|\ | |||||
| * | token_next shouldn't ignore skip_cm | Darik Gamble | 2016-06-20 | 1 | -0/+6 |
|/ | |||||
* | Previous fix for period failed when another token (non-groupable) followed. | Victor Uriarte | 2016-06-19 | 1 | -0/+9 |
| | |||||
* | Revert behavior of dangling period(hanging schema qualifier) | Victor Uriarte | 2016-06-18 | 1 | -3/+3 |
| | | | | | | Related to #261. Reverting to previous behavior until a way to handle behavior/grouping of invalid sql is agreed upon. | ||||
* | Merge pull request #260 from vmuriart/long_live_indexes | Vik | 2016-06-16 | 3 | -21/+13 |
|\ | | | | | Long live indexes - Improve performance |