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

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