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>
https://bugzilla.wikimedia.org/show_bug.cgi?id=60213
Merge pull request #110 from a-demakov/master

Type mismatch when caching SMW IDs
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)
Fix MW 1.19/relbuild test

relbuild didn't fail before because it lags behind the
actual commit, already fixed in #112 but it fails now
because relbuild again is one step behind.
Merge pull request #115 from SemanticMediaWiki/tests

Fix MW 1.19/relbuild test
Another MW 1.19/relbuild test fix

Change-Id: Ied985c19d410f6284690decba0d2b69c353b4b62
Merge pull request #116 from SemanticMediaWiki/tests

Another MW 1.19/relbuild test fix
Bump to 1.9.0.3 alpha
Update RELEASE-NOTES.md
Revert "https://bugzilla.wikimedia.org/show_bug.cgi?id=60213"

This reverts commit 306d42726eb1fcef1eb1166a995694082e09b6e5.
Merge pull request #117 from SemanticMediaWiki/regression-110

Revert "Type mismatch when caching SMW IDs"
Make ContentParser a bit more flexible

Enables to inject an arbitrary revision to be used to
parse content.

ContentParserTest remains unaltered (expected the
setRevision injection)

It makes it easier to use this during integration testing
Merge pull request #118 from SemanticMediaWiki/parser

Make ContentParser a bit more flexible
Add MwLinksUpdateWithSQLStoreDBIntegrationTest

For reference, see [1] and #119.

[1] http://wikimedia.7.x6.nabble.com/SMW-no-longer-works-with-a-manual-LinksUpdate-call-td5020561.html

Change-Id: Icd9a925b44e62f06e472545b16ec8f71b941556b
Some tidy work

Change-Id: I38506ddeec9d5ea23ab98c33fb355e7bbbf1f573
Update RELEASE-NOTES.md
Remove clutter
Merge pull request #119 from SemanticMediaWiki/integration-tests

LinksUpdate and SMW 1.9