- 修复 UseGenerateCommandParameterWithLambda 子查询并发 bug;#1155

This commit is contained in:
2881099
2022-06-13 19:38:23 +08:00
parent 4549bf446c
commit 6e8d72513f
3 changed files with 23 additions and 11 deletions

View File

@ -51,7 +51,7 @@ namespace FreeSql.Internal.CommonProvider
{
if (Interlocked.Increment(ref _disposeCounter) != 1) return;
_where.Clear();
_params.Clear();
//_params.Clear(); 子查询与主查询共享,并发导致错误清除了主查询参数化信息 https://github.com/dotnetcore/FreeSql/issues/1155
_tables.Clear();
_tableRules.Clear();
_join.Clear();