Changeset: 692e87beabda for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/692e87beabda
Modified Files:
        monetdb5/modules/mal/manifold.c
Branch: default
Log Message:

No need to create copy of instruction.
Also, doing this during instruction execution is not thread-safe: the
instruction allocator does not use locks.


diffs (17 lines):

diff --git a/monetdb5/modules/mal/manifold.c b/monetdb5/modules/mal/manifold.c
--- a/monetdb5/modules/mal/manifold.c
+++ b/monetdb5/modules/mal/manifold.c
@@ -380,13 +380,6 @@ MANIFOLDevaluate(Client cntxt, MalBlkPtr
        mat[0].first = (void *) Tloc(mat[0].b, 0);
        mat[0].last = (void *) Tloc(mat[0].b, BATcount(mat[0].b));
 
-       mut.pci = copyInstruction(mb, pci);
-       if (mut.pci == NULL) {
-               msg = createException(MAL, "mal.manifold",
-                                                         SQLSTATE(HY013) 
MAL_MALLOC_FAIL);
-               goto wrapup;
-       }
-
        msg = MANIFOLDjob(&mut, fcn);
 
   wrapup:
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to