Please sign in to comment.
grammar: Fix row value parsing, improve whitespace handling, fix tests
This commit fixes a regression which was introduced in commit 788134e which broke the parsing of row values. It also makes sure CHECK expressions are parsed in exactly the same way, no matter whether they are a column or a table constraint. Before spaces were added to the query in a different way. The way it was done for column constaints had also an error were the minus sign of a negative number was separated from the first digit by a space. This is fixed, too. Because of all the changes this commit also adjusts the tests to expect the new layout of the check expressions. It also adds some new tests for row values and for complex expressions to make sure both work. Finally, it also removes all QScintilla dependencies from the tests which don't seem to be necessary.
- Loading branch information...
Showing with 867 additions and 759 deletions.
Oops, something went wrong.