Changeset: 3814162d083b for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=3814162d083b
Modified Files:
        sql/backends/monet5/UDF/capi/capi.c
Branch: jitudf
Log Message:

Put temporary data in DELDIR instead of LEFTDIR.


diffs (21 lines):

diff --git a/sql/backends/monet5/UDF/capi/capi.c 
b/sql/backends/monet5/UDF/capi/capi.c
--- a/sql/backends/monet5/UDF/capi/capi.c
+++ b/sql/backends/monet5/UDF/capi/capi.c
@@ -607,7 +607,7 @@ static str CUDFeval(Client cntxt, MalBlk
                // because this will be removed again upon server startup
                const int RANDOM_NAME_SIZE = 32;
                char *path = NULL;
-               const char *prefix = "LEFTOVERS" DIR_SEP_STR;
+               const char *prefix = "DELETE_ME" DIR_SEP_STR;
                size_t prefix_size = strlen(prefix);
                char *leftdirpath;
 
@@ -641,7 +641,7 @@ static str CUDFeval(Client cntxt, MalBlk
                GDKfree(path);
 
                // if LEFTOVERS directory does not exist, create it
-               leftdirpath = GDKfilepath(0, NULL, LEFTDIR, NULL);
+               leftdirpath = GDKfilepath(0, NULL, DELDIR, NULL);
                if (!leftdirpath) {
                        msg = createException(MAL, "cudf.eval", 
MAL_MALLOC_FAIL);
                        goto wrapup;
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to