This commit is contained in:
as2252258@163.com
2021-08-04 00:36:21 +08:00
parent 00a967d9fc
commit a2d8691d8c
+2
View File
@@ -89,6 +89,8 @@ class Connection extends Component
$this->eventProvider->on(BeginTransaction::class, [$this, 'beginTransaction'], 0);
$this->eventProvider->on(Rollback::class, [$this, 'rollback'], 0);
$this->eventProvider->on(Commit::class, [$this, 'commit'], 0);
$this->_schema->db = $this;
}