Changeset: b5dc5a29bce0 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=b5dc5a29bce0
Modified Files:
monetdb5/extras/sphinx/sphinx.c
monetdb5/extras/sphinx/sphinx.h
Branch: Aug2011
Log Message:
export SPHINXsearchIndexLimit.
Since SPHINXsearchIndexLimit is referenced from the MAL file, it is
actually used outside of the .c file and hence needs to be exported.
diffs (23 lines):
diff --git a/monetdb5/extras/sphinx/sphinx.c b/monetdb5/extras/sphinx/sphinx.c
--- a/monetdb5/extras/sphinx/sphinx.c
+++ b/monetdb5/extras/sphinx/sphinx.c
@@ -74,7 +74,7 @@ sphinx_searchIndexLimit(BAT **ret, /* pu
return MAL_SUCCEED;
}
-static str
+str
SPHINXsearchIndexLimit(int *ret, str *query, str *index, int *limit)
{
BAT *b = NULL;
diff --git a/monetdb5/extras/sphinx/sphinx.h b/monetdb5/extras/sphinx/sphinx.h
--- a/monetdb5/extras/sphinx/sphinx.h
+++ b/monetdb5/extras/sphinx/sphinx.h
@@ -36,6 +36,7 @@
#define sphinx_export extern
#endif
+sphinx_export str SPHINXsearchIndexLimit(int *ret, str *query, str *index, int
*limit);
sphinx_export str SPHINXsearchIndexLimitWrap(Client cntxt, MalBlkPtr mb,
MalStkPtr stk, InstrPtr pci);
#endif /* SPHINX_H */
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list