Changeset: 53300448aebe for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=53300448aebe
Modified Files:
        sql/backends/monet5/UDF/pyapi/pyapi.c
Branch: Dec2016
Log Message:

Make compilable.


diffs (22 lines):

diff --git a/sql/backends/monet5/UDF/pyapi/pyapi.c 
b/sql/backends/monet5/UDF/pyapi/pyapi.c
--- a/sql/backends/monet5/UDF/pyapi/pyapi.c
+++ b/sql/backends/monet5/UDF/pyapi/pyapi.c
@@ -509,7 +509,7 @@ str PyAPIeval(Client cntxt, MalBlkPtr mb
                             if (GDKinitmmap(query_ptr->mmapid + 0, size, 
(void**) &result_ptr, NULL, &msg) != GDK_SUCCEED) {
                                 _connection_cleanup_result(output);
                                 GDKchangesemval(query_sem, 1, 1, &msg);
-                                msg = createException(MAL, "pyapi.eval", "");
+                                msg = createException(MAL, "pyapi.eval", "mmap 
initialization failed");
                                 GDKfree(result_columns);
                                 goto wrapup;
                             }
@@ -2507,7 +2507,9 @@ bit IsStandardBATType(int type) {
         case TYPE_lng:
         case TYPE_flt:
         case TYPE_dbl:
+#ifdef HAVE_HGE
         case TYPE_hge:
+#endif
         case TYPE_str:
             return 1;
         default:
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to