[prev in list] [next in list] [prev in thread] [next in thread] 

List:       monetdb-checkins
Subject:    MonetDB: malerrors - Fix call to getAddress.
From:       Sjoerd Mullender <commits+sjoerd=acm.org () monetdb ! org>
Date:       2017-07-31 7:20:19
Message-ID: hg.a2d36c34906e.1501485619.6315528441665844383 () monetdb-vm0 ! spin-off ! cwi ! nl
[Download RAW message or body]

Changeset: a2d36c34906e for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=a2d36c34906e
Modified Files:
	sql/backends/monet5/UDF/pyapi/pyheader.h
Branch: malerrors
Log Message:

Fix call to getAddress.


diffs (12 lines):

diff --git a/sql/backends/monet5/UDF/pyapi/pyheader.h b/sql/backends/monet5/UDF/pyapi/pyheader.h
--- a/sql/backends/monet5/UDF/pyapi/pyheader.h
+++ b/sql/backends/monet5/UDF/pyapi/pyheader.h
@@ -93,7 +93,7 @@
 
 #define LOAD_SQL_FUNCTION_PTR(fcnname)                                         \
 	fcnname##_ptr =                                                            \
-		(fcnname##_ptr_tpe)getAddress(NULL, "lib_sql.dll", #fcnname, 0);       \
+		(fcnname##_ptr_tpe)getAddress(#fcnname);       \
 	if (fcnname##_ptr == NULL) {                                               \
 		msg = createException(MAL, "pyapi.eval", "SQLSTATE PY000 !""Failed to load function %s", \
 							  #fcnname);                                       \
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic