Update of /cvsroot/monetdb/pathfinder/runtime
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv23083
Modified Files:
Tag: XQuery_0-16
shredder.mx
Log Message:
* bugfix for shred_pi where the INS part is NULL. This leaded to a SIGSEGV. I
now check if the str is 0 and if so I set it to (str)str_nil. This works fine
on my (32/64bit) test machines.
JF.
Index: shredder.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/shredder.mx,v
retrieving revision 1.114.2.2
retrieving revision 1.114.2.3
diff -u -d -r1.114.2.2 -r1.114.2.3
--- shredder.mx 8 Feb 2007 18:15:28 -0000 1.114.2.2
+++ shredder.mx 28 Feb 2007 10:03:30 -0000 1.114.2.3
@@ -466,6 +466,8 @@
shredBAT *sb = & shredCtx->dstBAT[idx];
size_t oldsize, newsize;
+ if ( v == 0 )
+ v = (str)str_nil;
if (sb->def->compress) {
BAT *mb = BBP_cache(-(sb->bat->batCacheid));
BUN bun;
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins