SMWSQLStore3Readers / Error: 1137 Can't reopen table: 'p' (localhost)

Query: SELECT  p.smw_title as prop,o_id AS id0,o0.smw_title AS ... causes an
error

It seems that [1] as sql statement causes a "Can't reopen table: 'p'" when executing
SMW_SQLStore3_Readers.php:328.

[1] SMWSQLStore3Readers:273
<pre>
$from .= ' INNER JOIN ' . $db->tableName( SMWSql3SmwIds::tableName ) . ' AS p ON p_id=p.smw_id';
$select .= 'p.smw_title as prop';
</pre>
Fix Error: 1137 Can't reopen table during testing

Set 'use-normal-tables' in test for $wgDBtype == 'mysql'
Merge pull request #80 from SemanticMediaWiki/store

SMWSQLStore3Readers / Error: 1137 Can't reopen table: 'p' (localhost)