protected function executeQuery($table = null)
    {
        $query = $this->getQuery($table);
        $this->disableInnoDbStats();
        try {
            $results = $this->adapter->query($query)->getArrayObject();
        } catch (\Exception $e) {
            $this->restoreInnoDbStats();
            throw new Exception\ErrorException(__METHOD__ . ': ' . $e->getMessage());
        }
        $this->restoreInnoDbStats();

        return $results;
    }