Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Well, if you are using linux you could get mysql and its client from apt on Debian based systems(I guess on redhat based systems you can use yum), well, the plus linefeed is not really intentional but does not cause any problem, so I didn't mind too much. But also in LibreOffice Base if you turn on running SQL query in SQL edit view it will pass the SQL query directly to HSQL without any type of modification, or check, so if you push this button it should work totally as a HSQL prompt.

Gabor

2011. 09. 01. 21:59 keltezéssel, Eike Rathke írta:
Hi Jenei,

On Thursday, 2011-09-01 20:31:11 +0200, Jenei Gábor wrote:

Well, as I know for HSQL -- and // are equal, so // is like one line
comment in C++.
Hmm.. ok.

Btw, this

+        if(sCopy[i]=='\n' || i==nQueryLen-1){
+            nCommentLen++;
+            if(i==nQueryLen-1)sTemp.append(&sCopy[i],1);
+            if(bComment) bComment=false;
+            sTemp.append((sal_Unicode)'\n');

appends yet another \n if there was already one at the very end of the
query string, is that intentional?

Well,thanks for your work on the other hand :)
I'm rearranging some logic to fold various if's away that are
unnecessarily executed in the loops. I'll let you know details later.

How can I quickly setup a database and query to test this thing?

   Eike



Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.