Index: trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore2_Queries.php |
— | — | @@ -145,7 +145,7 @@ |
146 | 146 | */ |
147 | 147 | public function getQueryResult(SMWQuery $query) { |
148 | 148 | if ($query->querymode == SMWQuery::MODE_NONE) { // don't query, but return something to printer |
149 | | - $result = new SMWQueryResult($query->getDescription()->getPrintrequests(), $query, true); |
| 149 | + $result = new SMWQueryResult($query->getDescription()->getPrintrequests(), $query, array(), $this->m_store, true); |
150 | 150 | return $result; |
151 | 151 | } |
152 | 152 | $this->m_qmode = $query->querymode; |
— | — | @@ -267,7 +267,7 @@ |
268 | 268 | wfProfileIn('SMWSQLStore2Queries::getInstanceQueryResult (SMW)'); |
269 | 269 | $qobj = $this->m_queries[$rootid]; |
270 | 270 | if ($qobj->joinfield === '') { // empty result, no query needed |
271 | | - $result = new SMWQueryResult($query->getDescription()->getPrintrequests(), $query, false); |
| 271 | + $result = new SMWQueryResult($query->getDescription()->getPrintrequests(), $query, array(), $this->m_store, false); |
272 | 272 | wfProfileOut('SMWSQLStore2Queries::getInstanceQueryResult (SMW)'); |
273 | 273 | return $result; |
274 | 274 | } |