Index: trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore2_Queries.php |
— | — | @@ -114,7 +114,7 @@ |
115 | 115 | // finally, free temporary tables |
116 | 116 | if ($this->m_qmode !== SMWQuery::MODE_DEBUG) { |
117 | 117 | foreach ($this->m_querylog as $table => $log) { |
118 | | - $this->m_dbs->query("DROP TEMPORARY TABLE $table", 'SMW::getQueryResult'); |
| 118 | + $this->m_dbs->query("DROP TEMPORARY TABLE " . $this->m_dbs->tableName($table), 'SMW::getQueryResult'); |
119 | 119 | } |
120 | 120 | } |
121 | 121 | return $result; |