Changeset: af464ad793ed for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=af464ad793ed
Modified Files:
sql/backends/monet5/UDF/pyapi/convert_loops.h
sql/backends/monet5/UDF/pyapi/pyheader.h
Branch: default
Log Message:
Fix for systems without hge type.
diffs (23 lines):
diff --git a/sql/backends/monet5/UDF/pyapi/convert_loops.h
b/sql/backends/monet5/UDF/pyapi/convert_loops.h
--- a/sql/backends/monet5/UDF/pyapi/convert_loops.h
+++ b/sql/backends/monet5/UDF/pyapi/convert_loops.h
@@ -12,8 +12,6 @@
* these are in a separate header because they are used in multiple places
*/
-#define utf8string_minlength 256
-
#define BAT_TO_NP(bat, mtpe, nptpe)
\
if (copy) {
\
vararray = PyArray_EMPTY(1, elements, nptpe, 0);
\
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
@@ -100,5 +100,7 @@
#define LOAD_SQL_FUNCTION_PTR(fcnname) (void) fcnname
#endif
+
+#define utf8string_minlength 256
#endif /* _PYHEADER_H_ */
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list