<div dir="ltr">Hi Thomas, Alex<div><br></div><div style> I was wrong about hsqldb. It is not a concept which cause the problem but a bug, at least in version 1.8.0. I look into the source code and find that LIMIT is not used as a keyword while parsing from clause and so LIMIT is recognized as a table alias and not as the start of limit clause.</div>
<div style> If you try running "SELECT * FROM one_table as LIMIT" in sql view with option "Run SQL commend directly" (to avoid LO sytnax check, which recognizes that this is an error) than hsqldb works this statement up and return with the table "one_table" without any exception because of using a keyword as a table alias, as it do with other keywords.</div>
<div style> So I fixed it inside LO and so in RC1 it will work.</div><div style><br></div><div style>Best Regards,</div><div style>Tamás</div><div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
2013/6/11 Thomas Hackert <span dir="ltr"><<a href="mailto:thackert@nexgo.de" target="_blank">thackert@nexgo.de</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hallo Tamás, *,<br>
<div class="im">On Dienstag, 11. Juni 2013 16:01 Zolnai Tamás wrote:<br>
<br>
> Extend help is a good idea and adding a new dialog too. But I<br>
> think<br>
> this characteristic of hsqldb would be hide from the user instead,<br>
> because if the deafult database change in the future (as I see<br>
> there are some efforts to it)<br>
<br>
</div>well, but as it maybe would change in the future, I think, we should<br>
extend the OLH (we could remove it later, when we have a replacement<br>
for HSQL, couldn't we?) instead of getting loads of complains or bug<br>
reports about "a non working Base" or the like ... ;)<br>
<div class="im"><br>
> and this database supports LIMIT without adding<br>
> GROUP BY or WHERE, than these things get unneeded and the<br>
> behaviour of Base change. (Here I means that Base known by normal<br>
> user who use it with the default driver).<br>
> This is why I prefer adding table alias to the select<br>
> statement behind<br>
> GUI and allow the user to make queries like "select * from table<br>
> limit y".<br>
<br>
</div>Would this be easy to implement without any strange side effects? If<br>
it is easy, it would be cool to get this done before releasing 4.1<br>
final ... ;)<br>
Thanks for your answer<br>
Thomas.<br>
<br>
<TOFU removed><br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
We tried to close Ohio's borders and ran into a Constitutional<br>
problem.<br>
There's a provision in the Constitution that says you can't close<br>
your borders to interstate commerce, and garbage is a form of<br>
interstate commerce.<br>
-- Ohio Lt. Governor Paul Leonard<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
LibreOffice mailing list<br>
<a href="mailto:LibreOffice@lists.freedesktop.org">LibreOffice@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/libreoffice" target="_blank">http://lists.freedesktop.org/mailman/listinfo/libreoffice</a><br>
</div></div></blockquote></div><br></div>