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


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

-- 
 PGP/OpenPGP/GnuPG encrypted mail preferred in all private communication.
 Key ID: 0x293C05FD - 997A 4C60 CE41 0149 0DB3  9E96 2F1A D073 293C 05FD

Attachment: signature.asc
Description: Digital signature


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.