浏览代码

maybe have a dirty read

master
Savorboard 7 年前
父节点
当前提交
56c9629d3f
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. +1
    -0
      src/DotNetCore.CAP.MySql/MySqlStorageConnection.cs

+ 1
- 0
src/DotNetCore.CAP.MySql/MySqlStorageConnection.cs 查看文件

@@ -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;";


正在加载...
取消
保存