From: Hyunjong,park Date: Mon, 21 Oct 2013 06:40:59 +0000 (+0900) Subject: [Title] bug fix. calltrace type X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e78da8714b229159c2f54f5ed94a79012cce2dc6;p=sdk%2Ftools%2Fdynamic-analyzer.git [Title] bug fix. calltrace type [Desc.] integer to text [Issue] - --- diff --git a/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/sql/DBTableManager.java b/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/sql/DBTableManager.java index 55e6700..b5fd91f 100644 --- a/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/sql/DBTableManager.java +++ b/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/sql/DBTableManager.java @@ -53,7 +53,7 @@ public class DBTableManager { private static final String TABLE_NAME_LIB_OBJ = "LibraryObject";//$NON-NLS-1$ private static final String TABLE_NAME_APINAME = "ApiName";//$NON-NLS-1$ private static final String TABLE_NAME_GLES20_CONTEXT_DATA = "Gles20ContextData";//$NON-NLS-1$ - private static final String TABLE_NAME_GLES20_CAHNGE_INFO = "Gles20ChangeInfo";//$NON-NLS-1$ +// private static final String TABLE_NAME_GLES20_CAHNGE_INFO = "Gles20ChangeInfo";//$NON-NLS-1$ private static List tableInfos; @@ -182,7 +182,7 @@ public class DBTableManager { COMMON_COLUMN_PID }; String[] options = { "not null", EMPTY, ",PRIMARY KEY(" + CUSTOM_COLUMN_ADDR + ")" }; - String[] types = { TEXT, INTEGER, "VARCHAR(512)" }; + String[] types = { TEXT, TEXT, "VARCHAR(512)" }; DBTableInfo callstackUnitsTableInfo = new DBTableInfo( TABLE_NAME_CALLSTACK_UNITS, names, options, types); tableInfos diff --git a/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/sql/SqlManager.java b/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/sql/SqlManager.java index 2bb330b..4301f8f 100755 --- a/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/sql/SqlManager.java +++ b/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/sql/SqlManager.java @@ -530,6 +530,7 @@ public class SqlManager { prep.executeBatch(); conn.setAutoCommit(true); } catch (SQLException e) { + System.out.println("[Error insert] query = " + query); e.printStackTrace(); } finally { if (null != prep) {