[Title] change DB
authorHyunjong,park <phjwithyou.park@samsung.com>
Tue, 17 Dec 2013 10:00:32 +0000 (19:00 +0900)
committerHyunjong,park <phjwithyou.park@samsung.com>
Tue, 17 Dec 2013 10:00:32 +0000 (19:00 +0900)
[Desc.] varchar to longvarchar
[Issue] -

org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/sql/DBTableManager.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/toolbar/ConfigureManager.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/toolbar/configuration/ConfigurationDialogFeaturesPage.java

index 60d6724..5a32b37 100755 (executable)
@@ -72,8 +72,10 @@ public class DBTableManager {
        public static int TABLE_COUNT = 14;
 
        public static final String EMPTY = CommonConstants.EMPTY;
-       public static final String TEXT = "VARCHAR(256)";//$NON-NLS-1$
-       public static final String BIG_TEXT = "VARCHAR(1024)";//$NON-NLS-1$
+       //      public static final String TEXT = "VARCHAR(64)";//$NON-NLS-1$
+       //public static final String BIG_TEXT = "VARCHAR(1024)";//$NON-NLS-1$
+       public static final String TEXT = "LONGVARCHAR";//$NON-NLS-1$
+       public static final String BIG_TEXT = "LONGVARCHAR";//$NON-NLS-1$
        public static final String INTEGER = "INTEGER";//$NON-NLS-1$
        public static final String LONG = "bigint";//$NON-NLS-1$
        public static final String NOT_NULL = "not null";//$NON-NLS-1$
@@ -244,13 +246,13 @@ public class DBTableManager {
 
                // "profiling data" table info block
                {
-                       String[] names = { CUSTOM_COLUMN_SEQ, CUSTOM_COLUMN_PID, 
-                                       CUSTOM_COLUMN_NAME, CUSTOM_COLUMN_EXCOUNT, 
-                                       CUSTOM_COLUMN_INCOUNT, CUSTOM_COLUMN_CALL_COUNT, 
-                                       CUSTOM_COLUMN_PARENT, CUSTOM_COLUMN_KEY, 
-                                       CUSTOM_COLUMN_INCL_EXETIME,     CUSTOM_COLUMN_EXCL_EXETIME };
-                       String[] options = { NOT_NULL, NOT_NULL, EMPTY, EMPTY, EMPTY, EMPTY, 
-                                       EMPTY,  EMPTY, EMPTY, EMPTY };
+                       String[] names = { CUSTOM_COLUMN_SEQ, CUSTOM_COLUMN_PID,
+                                       CUSTOM_COLUMN_NAME, CUSTOM_COLUMN_EXCOUNT,
+                                       CUSTOM_COLUMN_INCOUNT, CUSTOM_COLUMN_CALL_COUNT,
+                                       CUSTOM_COLUMN_PARENT, CUSTOM_COLUMN_KEY,
+                                       CUSTOM_COLUMN_INCL_EXETIME, CUSTOM_COLUMN_EXCL_EXETIME };
+                       String[] options = { NOT_NULL, NOT_NULL, EMPTY, EMPTY, EMPTY,
+                                       EMPTY, EMPTY, EMPTY, EMPTY, EMPTY };
                        String[] types = { TEXT, TEXT, "VARCHAR(512)", TEXT, TEXT, TEXT,
                                        "VARCHAR(512)", "VARCHAR(512)", TEXT, TEXT };
                        DBTableInfo profilingDataTableInfo = new DBTableInfo(
@@ -260,7 +262,7 @@ public class DBTableManager {
 
                // "profiling child data" table info block
                {
-                       String[] names = { CUSTOM_COLUMN_SEQ, CUSTOM_COLUMN_PID, 
+                       String[] names = { CUSTOM_COLUMN_SEQ, CUSTOM_COLUMN_PID,
                                        CUSTOM_COLUMN_CHILD_LIST };
                        String[] options = { NOT_NULL, NOT_NULL, EMPTY };
                        String[] types = { TEXT, TEXT, "VARCHAR(1024)" };
index dc024a8..d1da34d 100644 (file)
@@ -410,8 +410,8 @@ public class ConfigureManager {
                        ret = 0;
                }
 
-               System.out.println("configuration key: " + key + " value: "
-                               + AnalyzerUtil.toHexdecimal(ret));
+//             System.out.println("configuration key: " + key + " value: "
+//                             + AnalyzerUtil.toHexdecimal(ret));
                return ret;
        }
 
@@ -433,8 +433,8 @@ public class ConfigureManager {
                        ret = 0;
                }
 
-               System.out.println("configuration key: " + key + " value: "
-                               + AnalyzerUtil.toHexdecimal(ret));
+//             System.out.println("configuration key: " + key + " value: "
+//                             + AnalyzerUtil.toHexdecimal(ret));
                return ret;
        }
 
index 2af1061..83e3bb6 100644 (file)
@@ -313,7 +313,7 @@ public class ConfigurationDialogFeaturesPage extends DAPageComposite {
                        data.height = 15;
                        data.width = 410;
                        info.setLayoutData(data);
-                       info.setBackground(ColorResources.DIALOG_BG_UPPER);
+                       info.setBackground(ColorResources.BINARY_SETTINGS_INPUT_BOX_COLOR);
                        info.setForeground(ColorResources.RED);
                        info.setFont(FontResources.COMBO);
 
@@ -405,7 +405,7 @@ public class ConfigurationDialogFeaturesPage extends DAPageComposite {
                        data.height = 15;
                        data.width = 410;
                        info.setLayoutData(data);
-                       info.setBackground(ColorResources.DIALOG_BG_UPPER);
+                       info.setBackground(ColorResources.BINARY_SETTINGS_INPUT_BOX_COLOR);
                        info.setForeground(ColorResources.RED);
                        info.setFont(FontResources.COMBO);