Changeset: 03a2e8cdadc0 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=03a2e8cdadc0
Modified Files:
MonetDB5/src/mal/mal_namespace.mx
Branch: default
Log Message:
Avoid infinite call
diffs (14 lines):
diff -r ffcd6ef3b2dd -r 03a2e8cdadc0 MonetDB5/src/mal/mal_namespace.mx
--- a/MonetDB5/src/mal/mal_namespace.mx Tue Aug 03 06:59:10 2010 +0200
+++ b/MonetDB5/src/mal/mal_namespace.mx Thu Aug 05 07:03:03 2010 +0200
@@ -306,7 +306,9 @@
backup.nmetop++;
#endif
mal_unset_lock(mal_contextLock,"putName");
- return putName(nme, len); /* just to be sure */
+ if ( len)
+ return putName(nme, len); /* just to be sure */
+ return NULL;
}
@-
The namespace may become a bottleneck when the chain of identifiers grows.
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list