Skip to content

Conversation

Flamenco
Copy link

No description provided.

@wumpz
Copy link
Member

wumpz commented Mar 30, 2016

The test method you use does return all keywords uppercase. Therefore where!=WHERE results in test failures. You could set the lax parsing parameter to true or correct your input sqls. Do you provide a solution for this as well or only the testcases? Regards Tobias

@Flamenco
Copy link
Author

It still fails when the expression is 1, 0, and also with the keyword case

@Flamenco
Copy link
Author

screen shot 2016-03-30 at 1 33 29 pm

@Flamenco
Copy link
Author

My workaround for the expression is to replace where 1 with where 1=1 in the sql before parsing...

@wumpz
Copy link
Member

wumpz commented Apr 5, 2016

A pull request should not include failing tests. I will manually include your tests regarding issue 241 and provide a solution.

@wumpz wumpz closed this Apr 5, 2016
@coveralls
Copy link

Coverage Status

Coverage decreased (-24.6%) to 58.955% when pulling 52ead6a on Flamenco:master into 3dfae9c on JSQLParser:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants