When reviewing diffs in SQL files in BitBucket pull requests, the open diff is recognised as an SQL file and allows execution but doesn't execute anything.
Issue #713
new
When reviewing Bitbucket SQL pull requests in BitBucket, opening the diff in the PR details recognises the diff as an SQL file.
I’ve been executing these against a verification DB to ensure the schema is ok, but it turns out exectuting the diff doesn’t actually execute anything. Since the result of this is ‘query executed successfully’ I wrongly assumed everything was ok.
Is there any way to open the actual file instead of the diff, without checking out the source code?
Example of the misleading execution of a diff view: