projects
/
metaproxy-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88cbd90
)
Deprecate piggyback function with regular ints
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 7 Nov 2013 10:12:24 +0000
(11:12 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 7 Nov 2013 10:12:24 +0000
(11:12 +0100)
It may be harmful for large hit counts
include/metaproxy/util.hpp
patch
|
blob
|
history
diff --git
a/include/metaproxy/util.hpp
b/include/metaproxy/util.hpp
index
478e7a4
..
a7a9c98
100644
(file)
--- a/
include/metaproxy/util.hpp
+++ b/
include/metaproxy/util.hpp
@@
-106,13
+106,16
@@
namespace metaproxy_1 {
Z_RecordComposition *piggyback_to_RecordComposition(
ODR odr, Odr_int result_set_size, Z_SearchRequest *sreq);
-
+
void piggyback(int smallSetUpperBound,
int largeSetLowerBound,
int mediumSetPresentNumber,
int result_set_size,
- int &number_to_present);
-
+ int &number_to_present)
+#ifdef __GNUC__
+ __attribute__ ((deprecated))
+#endif
+ ;
void piggyback_sr(Z_SearchRequest *sreq,
Odr_int result_set_size,
Odr_int &number_to_present,