This commit is contained in:
2023-09-30 19:40:42 +08:00
parent 28451d6e02
commit 5b3b16e4f6
+1 -1
View File
@@ -76,7 +76,7 @@ class ImplodeCommand extends Command
}
Coroutine::create(function () use ($waite, $insert, $data) {
Coroutine\defer(fn() => $waite->done());
$exec = $data->createCommand($insert)->exec();
$exec = $data->createCommand(addslashes($insert))->exec();
exit('exec sql result: ' . $exec);
});
}