fix python and php modules to compile for 1.15.5
This commit is contained in:
parent
7eb7bd52bb
commit
400d220c57
@ -125,7 +125,7 @@ PHP_METHOD(Query, query)
|
|||||||
// jf: the original implementation built an AND clause. It would
|
// jf: the original implementation built an AND clause. It would
|
||||||
// be nice to offer an option, but the next best thing is to
|
// be nice to offer an option, but the next best thing is to
|
||||||
// default to the query language
|
// default to the query language
|
||||||
sd = wasaStringToRcl(qs, reason);
|
sd = wasaStringToRcl(rclconfig, qs, reason);
|
||||||
|
|
||||||
if (!sd) {
|
if (!sd) {
|
||||||
cerr << "Query string interpretation failed: " << reason << endl;
|
cerr << "Query string interpretation failed: " << reason << endl;
|
||||||
|
|||||||
@ -642,7 +642,7 @@ Query_execute(recoll_QueryObject* self, PyObject *args, PyObject *kwargs)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
string reason;
|
string reason;
|
||||||
Rcl::SearchData *sd = wasaStringToRcl(utf8, reason);
|
Rcl::SearchData *sd = wasaStringToRcl(rclconfig, utf8, reason);
|
||||||
|
|
||||||
if (!sd) {
|
if (!sd) {
|
||||||
PyErr_SetString(PyExc_ValueError, reason.c_str());
|
PyErr_SetString(PyExc_ValueError, reason.c_str());
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user