feat: rawsql is only used for log, if profile it will be setted

This commit is contained in:
octicon-git-branch(16/)
octicon-tag(16/)
Ather Shu
2020-03-01 07:28:08 +08:00
gitea-unlock(16/)
parent 358e3518b3
commit 483c367704

1
framework/db/Command.php
View File

@@ -1148,7 +1148,6 @@ class Command extends Component
} }
} }
} }
$rawSql = $rawSql ?: $this->getRawSql();
$this->prepare(true); $this->prepare(true);