Fixes MySQL Creating Temporary Tables Bug
Merge pull request #708 from ExchangeCore/fixes-tmp-table-bug

Fixes MySQL Creating Temporary Tables Bug