From 6452d7bdb5a0d1e90303673729a58548abc09545 Mon Sep 17 00:00:00 2001 From: msyu Date: Fri, 8 Aug 2025 18:12:43 +0300 Subject: [PATCH] 128 thread safety debug --- v1/Application.cfc | 2 +- .../instance_operation_cfs_param_ls.cfc | 51 ++++++++++--------- 2 files changed, 28 insertions(+), 25 deletions(-) diff --git a/v1/Application.cfc b/v1/Application.cfc index 060471e..ff39b6c 100644 --- a/v1/Application.cfc +++ b/v1/Application.cfc @@ -51,7 +51,7 @@ //variables.framework.docs={}; variables.framework.docs.APIName="Deck API"; - variables.framework.docs.APIVersion="0.127"; /*$ git config --global --unset user.password*/ + variables.framework.docs.APIVersion="0.128"; /*$ git config --global --unset user.password*/ variables.framework.globalHeaders = structNew(); diff --git a/v1/resources/instance_operation_cfs_param_ls.cfc b/v1/resources/instance_operation_cfs_param_ls.cfc index 812dbe9..686f91b 100644 --- a/v1/resources/instance_operation_cfs_param_ls.cfc +++ b/v1/resources/instance_operation_cfs_param_ls.cfc @@ -54,7 +54,8 @@ - + + select @@ -160,7 +161,7 @@ - + @@ -231,7 +232,8 @@ - + + select sop.svc_operation_cfs_param_id ,sop.svc_operation_cfs_param ,sop.value_list @@ -247,29 +249,29 @@ where sop.svc_operation_cfs_param_id= - - - - + + + + - - + + - - + + - - + + - - + + - - + + - - + + @@ -294,9 +296,10 @@ - + + - + select count(*) as cnt from instance_operation_cfs_param p join instance_operation o on (p.instance_operation_uid=o.instance_operation_uid) @@ -310,13 +313,13 @@ AND (select cast(st.instance_data->>'isDeleted' as boolean) from instance_state st where st.instance_uid=e.instance_uid order by version desc limit 1) IS NOT TRUE /*ignore deleted instances*/ - + - + select count(*) as cnt from instance_operation_cfs_param p join instance_operation o on (p.instance_operation_uid=o.instance_operation_uid) @@ -336,7 +339,7 @@ AND (select cast(st.instance_data->>'isDeleted' as boolean) from instance_state st where st.instance_uid=e.instance_uid order by version desc limit 1) IS NOT TRUE /*ignore deleted instances*/ - +