This commit is contained in:
2021-01-05 14:20:51 +08:00
parent 5f9dbba33e
commit 8f7c84a456
2 changed files with 2 additions and 40 deletions
+1
View File
@@ -238,6 +238,7 @@ class Connection extends Pool
if (!empty($charset)) {
$link->query('SET NAMES ' . $charset);
}
$this->success('create db client has num ' . $this->size($coroutineName) . ', has create ' . $this->hasCreate[$coroutineName]);
$this->success('create db client -> ' . $cds . ':' . env('workerId', 0) . ':' . Coroutine::getCid());
$this->incr($coroutineName);
if ($number = Context::getContext('begin_' . $coroutineName, Coroutine::getCid())) {