Hi, Dominique,
Many of the C++ functions have been changed to accept empty where
conditions. It might take a few days for me to figure out how to make
C API also do the same. In the mean time, it would be just as
efficient to use '1=1' as the where clause.
John
On 1/31/12 6:48 AM, Dominique Prunier wrote:
> Hey,
>
>
>
> That may sound a bit silly but i’m looking for a way to do a query
> without where clause using the C API. So far i ended up with “1=1” as
> my default where clause because the fastbit_build_query refuse an
> empty string or pointer.
>
>
>
> *extern*"C"FastBitQueryHandle
>
> *fastbit_build_query*(*const**char**select, *const**char**from,
> *const**char**where) {
>
> *if*(from == 0 || where == 0 || *from == 0 || *where == 0)
>
> *return*0;
>
>
>
> Is there any other way of doing this ?
>
>
>
> Thanks,
>
>
>
> */Dominique Prunier/**//*
>
> APG Lead Developper
>
> Logo-W4N-100dpi
>
> 4388, rue Saint-Denis
>
> Bureau 309
>
> Montreal (Quebec) H2J 2L1
>
> Tel. +1 514-842-6767 x310
>
> Fax +1 514-842-3989
>
> [email protected] <mailto:[email protected]>
>
> www.watch4net.com <http://www.watch4net.com/>
>
> / /
>
> /This message is for the designated recipient only and may contain
> privileged, proprietary, or otherwise private information. If you have
> received it in error, please notify the sender immediately and delete
> the original. Any other use of this electronic mail by you is prohibited.
>
> //Ce message est pour le récipiendaire désigné seulement et peut
> contenir des informations privilégiées, propriétaires ou autrement
> privées. Si vous l'avez reçu par erreur, S.V.P. avisez l'expéditeur
> immédiatement et effacez l'original. Toute autre utilisation de ce
> courrier électronique par vous est prohibée.///
>
>
>
>
>
> _______________________________________________
> FastBit-users mailing list
> [email protected]
> https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users
_______________________________________________
FastBit-users mailing list
[email protected]
https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users