Beispiel #1
0
 protected function _multiQuery($query)
 {
     $result = null;
     try {
         $this->getLog()->debug($query);
         $result = $this->_connection->multiQuery($query);
         $msg = sprintf('Result cnt: %d', count($result));
         $this->getLog()->debug($msg);
     } catch (Miaox_SphinxQl_Exception $e) {
         $this->getLog()->err($e->getMessage());
         throw $e;
     }
     return $result;
 }
 public function testClose()
 {
     $this->_connection->connect();
     $condition = $this->_connection->close();
     $this->assertTrue($condition);
 }