Commit 15b60174 by Qiang Xue

fixes for sphinx.

parent 566ed3c5
......@@ -1034,9 +1034,12 @@ class QueryBuilder extends Object
$column = $this->db->quoteColumnName($column);
}
if ($value === null) {
return "$column $operator NULL";
} else {
$phName = self::PARAM_PREFIX . count($params);
$params[$phName] = $value === null ? 'NULL' : $value;
$params[$phName] = $value;
return "$column $operator $phName";
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment