Database::query - add profiling info to queries like BEGIN or COMMIT
Merge pull request #892 from Wikia/sql-profiling

Database::query - add profiling info to queries like BEGIN or COMMIT