Fix #712
Merge pull request #723 from snoopckuu/patch-712

ProfilerStatementWrapper compatible with StatementInterface