@@ -5757,7 +5757,11 @@ Content-Type: ` + contentType) + (StringUtil.isEmpty(headerStr, true) ? '' : hea
57575757 else {
57585758 var standardKey = this . isMLEnabled != true ? 'response' : 'standard'
57595759 var standard = StringUtil . isEmpty ( tr [ standardKey ] , true ) ? null : JSON . parse ( tr [ standardKey ] )
5760- tr . compare = JSONResponse . compareResponse ( standard , this . removeDebugInfo ( response ) || { } , '' , this . isMLEnabled , null , null , ignoreTrend ) || { }
5760+
5761+ var rsp = JSON . parse ( JSON . stringify ( this . removeDebugInfo ( response ) || { } ) )
5762+ delete rsp . arg // FIXME rsp = JSONResponse.array2object(rsp, 'arg', ['arg'], true)
5763+
5764+ tr . compare = JSONResponse . compareResponse ( standard , rsp , '' , this . isMLEnabled , null , [ ] , ignoreTrend ) || { }
57615765 tr . compare . duration = it . durationHint
57625766 }
57635767
@@ -5898,6 +5902,8 @@ Content-Type: ` + contentType) + (StringUtil.isEmpty(headerStr, true) ? '' : hea
58985902 */
58995903 removeDebugInfo : function ( obj ) {
59005904 if ( obj != null ) {
5905+ delete obj [ "arg" ] // FIXME
5906+
59015907 delete obj [ "trace" ]
59025908 delete obj [ "sql:generate|cache|execute|maxExecute" ]
59035909 delete obj [ "depth:count|max" ]
@@ -6114,6 +6120,9 @@ Content-Type: ` + contentType) + (StringUtil.isEmpty(headerStr, true) ? '' : hea
61146120 delete currentResponse . code ; //code必须一致
61156121 delete currentResponse . throw ; //throw必须一致
61166122
6123+ var rsp = JSON . parse ( JSON . stringify ( currentResponse || { } ) )
6124+ delete rsp . arg // FIXME rsp = JSONResponse.array2object(rsp, 'arg', ['arg'], true)
6125+
61176126 var find = false ;
61186127 if ( isCodeChange && hasCode ) { // 走异常分支
61196128 for ( var i = 0 ; i < exceptions . length ; i ++ ) {
0 commit comments