Is there anyone that can think of a solution for this problem?
cc1: warnings being treated as errors
/Volumes/Scratch/monetdb/stable/monetdb/src/modules/plain/bat.mx: In function 'local_itoa':
/Volumes/Scratch/monetdb/stable/monetdb/src/modules/plain/bat.mx:1253: warning: format '%zd' expects type 'signed size_t', but argument 4 has type 'ssize_t'
I mean... is there a difference between "signed size_t" and "ssize_t"?
Ehrm.
[Orion:src/modules/plain] fabian% uname -a
Darwin Orion.local 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC Power Macintosh powerpc PowerBook4,3 Darwin
[Orion:src/modules/plain] fabian% gcc --version
gcc (GCC) 4.0.1 (Apple Computer, Inc. build 5341)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Probably just need to compile without -Werror.
On Tue, Dec 11, 2007 at 10:08:13AM +0000, Jan Flokstra wrote:
> Update of /cvsroot/monetdb/pathfinder/modules/pftijah
> In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv18823
>
> Modified Files:
> pftijah.mx
> Log Message:
> - add an optional extra commit after document indexing to survey a bug
> where a server restart leads to a zero filled index bat.
Just a stupid(?) question:
In the code below, the "extra_commit" is initialized to "false", and never
changed --- hence, the extra subcommit() in
if ( extra_commit ) subcommit(_tj_collection_str(ftiName));
is never called, right?
Hence, what is/was the intention/need of this checkin?
Stefan
> Index: pftijah.mx
> ===================================================================
> RCS file: /cvsroot/monetdb/pathfinder/modules/pftijah/pftijah.mx,v
> retrieving revision 1.157
> retrieving revision 1.158
> diff -u -d -r1.157 -r1.158
> --- pftijah.mx 4 Oct 2007 10:41:12 -0000 1.157
> +++ pftijah.mx 11 Dec 2007 10:08:09 -0000 1.158
> @@ -315,7 +315,9 @@
> # #
> #####################################################################
>
> -var verbose := false;
> +var verbose := false;
> +
> +var extra_commit := false;
>
> const dflt_ft_index := "DFLT_FT_INDEX";
> const dflt_bg_index := "DFLT_FT_INDEX";
> @@ -997,6 +999,7 @@
> _tj_add2collection(ftiName, collBat, uri_loc, uri_name, store);
> _tj_finalize_collection(ftiName, collBat, FALSE);
> _tj_commit(collBat);
> + if ( extra_commit ) subcommit(_tj_collection_str(ftiName));
> if ( timing ) {
> var ms := (usec()-t_start)/1000;
> printf("#C[%s]:tj_add2collection(): + aggregate time = %lld.%03llds.\n",ftiName,/(ms,1000),%(ms,1000));
> @@ -1038,6 +1041,7 @@
> printf("#C[%s]:tj_add2collection(BAT): + aggregate time = %lld.%03llds.\n",ftiName,/(ms,1000),%(ms,1000));
> }
> _tj_commit(collBat);
> + if ( extra_commit ) subcommit(_tj_collection_str(ftiName));
> });
> lock_unset(coll_lock);
> if (not(isnil(err))) ERROR(err);
>
>
> -------------------------------------------------------------------------
> SF.Net email is sponsored by:
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Monetdb-pf-checkins mailing list
> Monetdb-pf-checkins(a)lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins
--
| Dr. Stefan Manegold | mailto:Stefan.Manegold@cwi.nl |
| CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ |
| 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 |
| The Netherlands | Fax : +31 (20) 592-4312 |
Dear MonetDB developers,
I'am trying to use MonetDB XQuery for a programmative purpose and I need to invoke external functions into the XQuery engine (e.g. declare function random() as xs:double external).
Does MonetDB XQuery support external C/C++/Java functions? If yes, how I can use them? If not, this feature will be implemented in the future?
Thanks in advance,
Andrea
I see a mention of replication services being planned for the Winter of 2007
for SQL in the roadmap. Does anyone have any idea as to when they will
actually be available and what the development status/plan is?
Thanks,
Aaron
I have a file with several queries:
if I run mclient like this:
mclient -lsql file.sql
I get output only for the first 5 queries..
If run
mclient -lsql < file.sql
I get the complete output. Should this be reported as a bug or is there
a logical explanation?
Regards,
Romulo