summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/querydesign/LimitBox.cxx
diff options
context:
space:
mode:
authorZolnai Tamás <zolnaitamas2000@gmail.com>2013-06-13 10:40:31 +0200
committerZolnai Tamás <zolnaitamas2000@gmail.com>2013-06-14 09:49:22 +0200
commite00a04236d999849d850d4f26b7167d5975ecf39 (patch)
tree900f60acbedea500e8a4041edfdfea64bf68dc49 /dbaccess/source/ui/querydesign/LimitBox.cxx
parent4071270f7da800e58027e26f426e6e73f3abe737 (diff)
hsqldb does not support "select * from t limit n"
If limit clause follow from clause directly than the statement parser of hsqldb parses "LIMIT" token like a table alias and that's why the next number is unexpected. The problem was that the limit token was not added to a "keyword" vector in which parser search while working with form clause. If the algorithm find a keyword after table names than it knows it is the end of the form clause. That's why it worked with any other keywords like "ORDER_BY", "WHERE", "GROUP BY" and so on. Change-Id: Iacd3ea3493c85eb0f2579aaad6903537ac65d25a (cherry picked from commit 05d738294025b4a26e7cc3c6180e10ff784555e2)
Diffstat (limited to 'dbaccess/source/ui/querydesign/LimitBox.cxx')
0 files changed, 0 insertions, 0 deletions