mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-24 19:30:12 +01:00
Fixed the default response for sphinx query()
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
fcc40c77be
commit
7519da6743
@ -29,6 +29,8 @@ class Sphinx {
|
|||||||
$query->error = 1;
|
$query->error = 1;
|
||||||
$query->errmsg = "Error";
|
$query->errmsg = "Error";
|
||||||
$query->query = $sql;
|
$query->query = $sql;
|
||||||
|
$query->num_rows = 0;
|
||||||
|
$query->rows = [];
|
||||||
$query->total_found = 0;
|
$query->total_found = 0;
|
||||||
|
|
||||||
$time_start = microtime(true);
|
$time_start = microtime(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user