Changeset: 7eb7640ede41 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=7eb7640ede41 Modified Files: sql/backends/monet5/UDF/pyapi/pyapi.c Branch: default Log Message:
Properly handle absence of HGE type. diffs (23 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 @@ -99,7 +99,9 @@ CREATE_SQL_FUNCTION_PTR(str,batbte_dec2_ CREATE_SQL_FUNCTION_PTR(str,batsht_dec2_dbl); CREATE_SQL_FUNCTION_PTR(str,batint_dec2_dbl); CREATE_SQL_FUNCTION_PTR(str,batlng_dec2_dbl); +#ifdef HAVE_HGE CREATE_SQL_FUNCTION_PTR(str,bathge_dec2_dbl); +#endif CREATE_SQL_FUNCTION_PTR(str,batstr_2time_timestamp); CREATE_SQL_FUNCTION_PTR(str,batstr_2time_daytime); CREATE_SQL_FUNCTION_PTR(str,batstr_2_date); @@ -1588,7 +1590,9 @@ str LOAD_SQL_FUNCTION_PTR(batsht_dec2_dbl); LOAD_SQL_FUNCTION_PTR(batint_dec2_dbl); LOAD_SQL_FUNCTION_PTR(batlng_dec2_dbl); +#ifdef HAVE_HGE LOAD_SQL_FUNCTION_PTR(bathge_dec2_dbl); +#endif LOAD_SQL_FUNCTION_PTR(batstr_2time_timestamp); LOAD_SQL_FUNCTION_PTR(batstr_2time_daytime); LOAD_SQL_FUNCTION_PTR(batstr_2_date); _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list