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


_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to