Changeset: 5e520b22052b for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/5e520b22052b Modified Files: sql/backends/monet5/sql_rank.c Branch: Dec2025 Log Message:
Remove unused define.
diffs (28 lines):
diff --git a/sql/backends/monet5/sql_rank.c b/sql/backends/monet5/sql_rank.c
--- a/sql/backends/monet5/sql_rank.c
+++ b/sql/backends/monet5/sql_rank.c
@@ -955,24 +955,6 @@ SQLlast_value(Client cntxt, MalBlkPtr mb
return do_limit_value(cntxt, mb, stk, pci, "sql.last_value",
GDKanalyticallast);
}
-#define NTH_VALUE_SINGLE_IMP(TPE)
\
- do {
\
- TPE val = *(TPE*) VALget(nth);
\
- if (!VALisnil(nth) && val < 1)
\
- throw(SQL, "sql.nth_value", SQLSTATE(42000) "nth_value
must be greater than zero"); \
- if (VALisnil(nth) || val > 1) {
\
- ValRecord def = {.vtype = TYPE_void,};
\
- if (!VALinit(NULL, &def, tp1, ATOMnilptr(tp1)) ||
!VALcopy(NULL, res, &def)) { \
- VALclear(&def);
\
- throw(SQL, "sql.nth_value", SQLSTATE(HY013)
MAL_MALLOC_FAIL); \
- }
\
- VALclear(&def);
\
- } else {
\
- if (!VALcopy(NULL, res, in))
\
- throw(SQL, "sql.nth_value", SQLSTATE(HY013)
MAL_MALLOC_FAIL); \
- }
\
- } while(0)
-
str
SQLnth_value(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci)
{
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]
