Skip to content

Commit 5b9f861

Browse files
committed
ThreadedSQL: fix start message handling from MysqlWorker
1 parent 0011c5f commit 5b9f861

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/yexeed/thrsql/ThreadedSQL.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ public function check(){
8282
return;
8383
}
8484
while($line = $this->thread->outputs->shift()){
85+
if($line === "enabled"){
86+
$this->getLogger()->notice("MysqlWorker enabled!");
87+
continue;
88+
}
8589
$json = json_decode($line, true);
8690
$id = $json['id'];
8791
$result = $json['result'];

0 commit comments

Comments
 (0)