This website works better with JavaScript.
首頁
探索
說明
註冊
登入
Compoment
/
BPA.CAP
關註
1
收藏
0
複製
0
程式碼
問題管理
0
合併請求
0
版本發佈
0
Wiki
Activity
瀏覽代碼
Fix the connection release bug when occurred an exception.
undefined
Savorboard
7 年之前
父節點
dde9088bbd
當前提交
2504c7af8f
共有
3 個文件被更改
,包括
3 次插入
和
0 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
src/DotNetCore.CAP.MySql/MySqlStorageConnection.cs
+1
-0
src/DotNetCore.CAP.PostgreSql/PostgreSqlStorageConnection.cs
+1
-0
src/DotNetCore.CAP.SqlServer/SqlServerStorageConnection.cs
+ 1
- 0
src/DotNetCore.CAP.MySql/MySqlStorageConnection.cs
查看文件
@@ -171,6 +171,7 @@ SELECT * FROM `{_prefix}.received` WHERE Id=LAST_INSERT_ID();";
catch (MySqlException)
{
transaction.Dispose();
connection.Dispose();
throw;
}
+ 1
- 0
src/DotNetCore.CAP.PostgreSql/PostgreSqlStorageConnection.cs
查看文件
@@ -146,6 +146,7 @@ namespace DotNetCore.CAP.PostgreSql
catch (NpgsqlException)
{
transaction.Dispose();
connection.Dispose();
throw;
}
+ 1
- 0
src/DotNetCore.CAP.SqlServer/SqlServerStorageConnection.cs
查看文件
@@ -153,6 +153,7 @@ VALUES(@Name,@Group,@Content,@Retries,@Added,@ExpiresAt,@StatusName);";
catch (SqlException)
{
transaction.Dispose();
connection.Dispose();
throw;
}
Write
Preview
Loading…
取消
儲存