Skip to content

Commit

Permalink
修复listen Db 导致sql 没记录日志无法触发socketlog 的 bug
Browse files Browse the repository at this point in the history
  • Loading branch information
yangjian168 committed Mar 14, 2022
1 parent 5329fa6 commit 571c21d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/InspectorService.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,9 @@ public function boot(){
->start($start)
->end($runtime*1000);
// $inspector->startSegment($driver, $label);
trace($sql, 'sql');
}else{

trace($sql, 'sql');
}
});
}
Expand Down

0 comments on commit 571c21d

Please sign in to comment.