r36086 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r36085‎ | r36086 | r36087 >
Date:16:02, 9 June 2008
Author:vrandezo
Status:old
Tags:
Comment:
table name for temporary tables
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore2_Queries.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore2_Queries.php
@@ -114,7 +114,7 @@
115115 // finally, free temporary tables
116116 if ($this->m_qmode !== SMWQuery::MODE_DEBUG) {
117117 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');
119119 }
120120 }
121121 return $result;

Status & tagging log