Commit 56c9629d authored by Savorboard's avatar Savorboard

maybe have a dirty read

parent 88964985
......@@ -47,6 +47,7 @@ namespace DotNetCore.CAP.MySql
//DELETE FROM [{_prefix}].[Queue] LIMIT 1;
//COMMIT;
//TODO : here maybe have a dirty read
var sql = $@"
SELECT `MessageId`,`MessageType` FROM `{_prefix}.queue` LIMIT 1;
DELETE FROM `{_prefix}.queue` LIMIT 1;";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment