From b74fd73f1a44e3aeaf081d0d93751094452468fc Mon Sep 17 00:00:00 2001 From: weigao Date: Wed, 15 Jul 2015 14:32:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=BA=93=E5=90=8D=E7=A7=B0?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 手误;数据库称字段错误 --- src/main/java/com/taobao/profile/thread/DataDumpThread.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/taobao/profile/thread/DataDumpThread.java b/src/main/java/com/taobao/profile/thread/DataDumpThread.java index 4e9c6a8..496df41 100644 --- a/src/main/java/com/taobao/profile/thread/DataDumpThread.java +++ b/src/main/java/com/taobao/profile/thread/DataDumpThread.java @@ -106,7 +106,7 @@ private void dumpProfileData() { for (int index = 0; index < threadData.length; index++) { ThreadData profilerData = threadData[index]; if (profilerData == null) { - continue; + c continue; } ProfStack profile = profilerData.profileData; while (profile.size() > 0) { @@ -152,7 +152,7 @@ private void dumpMysqlData(){ sb.append('\t'); sb.append(cur.getRequestDesc().get("port")); sb.append('\t'); - sb.append(cur.getRequestDesc().get("cmd")); + sb.append(cur.getRequestDesc().get("db")); sb.append('\t'); sb.append(cur.getRequestDesc().get("sql")); sb.append('\t');