From f92cf755445ff4cd1fad23017d703b3a8a0a9f83 Mon Sep 17 00:00:00 2001 From: yz Date: Thu, 24 Oct 2024 10:27:21 +0000 Subject: [PATCH] [fix][dingo-executor]Fix trace insert result missing --- .../src/main/java/io/dingodb/driver/DingoDriverParser.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dingo-driver/host/src/main/java/io/dingodb/driver/DingoDriverParser.java b/dingo-driver/host/src/main/java/io/dingodb/driver/DingoDriverParser.java index 5b6019300..6a6ce80f8 100644 --- a/dingo-driver/host/src/main/java/io/dingodb/driver/DingoDriverParser.java +++ b/dingo-driver/host/src/main/java/io/dingodb/driver/DingoDriverParser.java @@ -521,6 +521,9 @@ public Meta.Signature parseQuery( statementType, relNode); } } + if(trace && statementType == Meta.StatementType.IS_DML){ + statementType = Meta.StatementType.CALL; + } planProfile.endLock(); return new DingoSignature( enableColumnMetas,