Changeset: dd4e0afa726a for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/dd4e0afa726a Modified Files: sql/backends/monet5/sql.h sql/backends/monet5/sql_cast.h Branch: default Log Message:
These symbols also need to be exported, sorry diffs (62 lines): diff --git a/sql/backends/monet5/sql.h b/sql/backends/monet5/sql.h --- a/sql/backends/monet5/sql.h +++ b/sql/backends/monet5/sql.h @@ -220,14 +220,14 @@ extern str batnil_2dec_hge(bat *res, con extern str nil_2time_timestamp(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci); extern str str_2time_timestamp(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci); extern str str_2time_timestamptz(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci); -extern str batstr_2time_timestamp(bat *res, const bat *v, const bat *s, const int *len); +sql5_export str batstr_2time_timestamp(bat *res, const bat *v, const bat *s, const int *len); extern str batstr_2time_timestamptz(bat *res, const bat *v, const bat *s, const int *len, int *tz); extern str timestamp_2time_timestamp(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci); extern str nil_2time_daytime(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci); extern str str_2time_daytime(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci); extern str str_2time_daytimetz(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci); -extern str batstr_2time_daytime(bat *res, const bat *v, const bat *s, const int *len); +sql5_export str batstr_2time_daytime(bat *res, const bat *v, const bat *s, const int *len); extern str daytime_2time_daytime(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci); extern str bat_date_trunc(bat *res, const str *scale, const bat *v); @@ -235,7 +235,7 @@ extern str date_trunc(timestamp *res, co extern str nil_2_date(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci); extern str str_2_date(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci); -extern str batstr_2_date(bat *res, const bat *val, const bat *s); +sql5_export str batstr_2_date(bat *res, const bat *val, const bat *s); extern str str_2_blob(blob * *res, const str *val); extern str batstr_2_blob(bat *res, const bat *val, const bat *sid); diff --git a/sql/backends/monet5/sql_cast.h b/sql/backends/monet5/sql_cast.h --- a/sql/backends/monet5/sql_cast.h +++ b/sql/backends/monet5/sql_cast.h @@ -10,12 +10,12 @@ #define _SQL_CAST_H_ #define CAST_INTEGER_2_NUMERIC_2(T1,T2) \ -extern str T1##_dec2_##T2(T2 *res, const int *s1, const T1 *v); \ -extern str bat##T1##_dec2_##T2(bat *res, const int *s1, const bat *v, const bat *sid); \ -extern str T1##_dec2dec_##T2(T2 *res, const int *S1, const T1 *v, const int *d2, const int *S2); \ -extern str bat##T1##_dec2dec_##T2(bat *res, const int *S1, const bat *v, const bat *sid, const int *d2, const int *S2); \ -extern str T1##_num2dec_##T2(T2 *res, const T1 *v, const int *d2, const int *s2); \ -extern str bat##T1##_num2dec_##T2(bat *res, const bat *v, const bat *sid, const int *d2, const int *s2); +sql5_export str T1##_dec2_##T2(T2 *res, const int *s1, const T1 *v); \ +sql5_export str bat##T1##_dec2_##T2(bat *res, const int *s1, const bat *v, const bat *sid); \ +sql5_export str T1##_dec2dec_##T2(T2 *res, const int *S1, const T1 *v, const int *d2, const int *S2); \ +sql5_export str bat##T1##_dec2dec_##T2(bat *res, const int *S1, const bat *v, const bat *sid, const int *d2, const int *S2); \ +sql5_export str T1##_num2dec_##T2(T2 *res, const T1 *v, const int *d2, const int *s2); \ +sql5_export str bat##T1##_num2dec_##T2(bat *res, const bat *v, const bat *sid, const int *d2, const int *s2); #ifdef HAVE_HGE #define CAST_INTEGER_2_NUMERIC_2_hge(T1) CAST_INTEGER_2_NUMERIC_2(T1,hge) @@ -42,8 +42,8 @@ CAST_INTEGER_2_NUMERIC_1(hge) #define CAST_FLOATINGPOINT_2_INTEGER_2(T1,T2) \ -extern str T1##_num2dec_##T2(T2 *res, const T1 *v, const int *d2, const int *s2); \ -extern str bat##T1##_num2dec_##T2(bat *res, const bat *v, const bat *sid, const int *d2, const int *s2); +sql5_export str T1##_num2dec_##T2(T2 *res, const T1 *v, const int *d2, const int *s2); \ +sql5_export str bat##T1##_num2dec_##T2(bat *res, const bat *v, const bat *sid, const int *d2, const int *s2); #ifdef HAVE_HGE #define CAST_FLOATINGPOINT_2_INTEGER_2_hge(T1) CAST_FLOATINGPOINT_2_INTEGER_2(T1,hge) _______________________________________________ checkin-list mailing list [email protected] https://www.monetdb.org/mailman/listinfo/checkin-list
