Index: library/mongodb/mongoAPI.h =================================================================== diff -u -raaf54b0b2c0f94de46aefd72cc8172a77359c073 -r64cdee65763cc97c7ae64f6b522c1dee4707ed6e --- library/mongodb/mongoAPI.h (.../mongoAPI.h) (revision aaf54b0b2c0f94de46aefd72cc8172a77359c073) +++ library/mongodb/mongoAPI.h (.../mongoAPI.h) (revision 64cdee65763cc97c7ae64f6b522c1dee4707ed6e) @@ -251,6 +251,7 @@ return NsfCollectionClose(interp, collectionPtr,pc.objv[0]); } else { + return TCL_ERROR; } } @@ -272,6 +273,7 @@ return NsfCollectionOpen(interp, connPtr, dbname, collectionname); } else { + return TCL_ERROR; } } @@ -291,6 +293,7 @@ return NsfMongoClose(interp, connPtr,pc.objv[0]); } else { + return TCL_ERROR; } } @@ -311,6 +314,7 @@ return NsfMongoCollectionCount(interp, collectionPtr, query); } else { + return TCL_ERROR; } } @@ -331,6 +335,7 @@ return NsfMongoCollectionDelete(interp, collectionPtr, condition); } else { + return TCL_ERROR; } } @@ -357,6 +362,7 @@ return NsfMongoCollectionIndex(interp, collectionPtr, attributes, withName, withBackground, withDropdups, withSparse, withTtl, withUnique); } else { + return TCL_ERROR; } } @@ -377,6 +383,7 @@ return NsfMongoCollectionInsert(interp, collectionPtr, values); } else { + return TCL_ERROR; } } @@ -400,6 +407,7 @@ return NsfMongoCollectionQuery(interp, collectionPtr, query, withAtts, withLimit, withSkip); } else { + return TCL_ERROR; } } @@ -420,6 +428,7 @@ return NsfMongoCollectionStats(interp, collectionPtr, withOptions); } else { + return TCL_ERROR; } } @@ -443,6 +452,7 @@ return NsfMongoCollectionUpdate(interp, collectionPtr, cond, values, withUpsert, withAll); } else { + return TCL_ERROR; } } @@ -462,6 +472,7 @@ return NsfMongoConnect(interp, withUri); } else { + return TCL_ERROR; } } @@ -485,6 +496,7 @@ return NsfMongoCursorAggregate(interp, collectionPtr, pipeline, options, withTailable, withAwaitdata); } else { + return TCL_ERROR; } } @@ -504,6 +516,7 @@ return NsfMongoCursorClose(interp, cursorPtr,pc.objv[0]); } else { + return TCL_ERROR; } } @@ -529,6 +542,7 @@ return NsfMongoCursorFind(interp, collectionPtr, query, withAtts, withLimit, withSkip, withTailable, withAwaitdata); } else { + return TCL_ERROR; } } @@ -548,6 +562,7 @@ return NsfMongoCursorNext(interp, cursorPtr); } else { + return TCL_ERROR; } } @@ -567,6 +582,7 @@ return NsfMongoGridFSClose(interp, gfsPtr,pc.objv[0]); } else { + return TCL_ERROR; } } @@ -588,6 +604,7 @@ return NsfMongoGridFSOpen(interp, connPtr, dbname, prefix); } else { + return TCL_ERROR; } } @@ -607,6 +624,7 @@ return NsfMongoGridFileClose(interp, gridfilePtr,pc.objv[0]); } else { + return TCL_ERROR; } } @@ -631,6 +649,7 @@ return NsfMongoGridFileCreate(interp, withSource, gfsPtr, value, name, contenttype, withMetadata); } else { + return TCL_ERROR; } } @@ -651,6 +670,7 @@ return NsfMongoGridFileDelete(interp, gfsPtr, query); } else { + return TCL_ERROR; } } @@ -670,6 +690,7 @@ return NsfMongoGridFileGetContentType(interp, gridfilePtr); } else { + return TCL_ERROR; } } @@ -689,6 +710,7 @@ return NsfMongoGridFileGetContentlength(interp, gridfilePtr); } else { + return TCL_ERROR; } } @@ -708,6 +730,7 @@ return NsfMongoGridFileGetMetaData(interp, gridfilePtr); } else { + return TCL_ERROR; } } @@ -728,6 +751,7 @@ return NsfMongoGridFileOpen(interp, gfsPtr, query); } else { + return TCL_ERROR; } } @@ -748,6 +772,7 @@ return NsfMongoGridFileRead(interp, gridfilePtr, size); } else { + return TCL_ERROR; } } @@ -768,6 +793,7 @@ return NsfMongoGridFileSeek(interp, gridfilePtr, offset); } else { + return TCL_ERROR; } } @@ -790,6 +816,7 @@ return NsfMongoRunCmd(interp, withNocomplain, connPtr, db, cmd); } else { + return TCL_ERROR; } } @@ -809,6 +836,7 @@ return NsfMongoStatus(interp, connPtr,pc.objv[0]); } else { + return TCL_ERROR; } }