Thread : modify select query of sync_api
authorheeyoung <heeyoung1008.hwang@samsung.com>
Wed, 8 Jul 2015 10:08:36 +0000 (19:08 +0900)
committerheeyoung <heeyoung1008.hwang@samsung.com>
Wed, 8 Jul 2015 10:08:36 +0000 (19:08 +0900)
Change-Id: I4738b96ecf196534bb769e10e61edd82390c6ad1
Signed-off-by: heeyoung <heeyoung1008.hwang@samsung.com>
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/thread/db/SyncAPIDBTable.java

index cfe0d44..e8992cd 100644 (file)
@@ -51,7 +51,8 @@ public class SyncAPIDBTable extends DBTable {
        public static final String SELECT_QUERY = "select " + SELECT_COLUMN + " from "
                        + SyncEventDBTable.TABLENAME + CommonConstants.COMMA + TABLENAME + "  where "
                        + SyncEventDBTable.COLUMN.SYNC_DATA_ID.name + " = %s and "
-                       + SyncEventDBTable.COLUMN.SEQUENCE_NUMBER.name + " = " + COLUMN.SEQUENCE_NUMBER.name;
+                       + SyncEventDBTable.TABLENAME + CommonConstants.DOT + SyncEventDBTable.COLUMN.SEQUENCE_NUMBER.name 
+                       + " = " + TABLENAME + CommonConstants.DOT + COLUMN.SEQUENCE_NUMBER.name;
 
        public enum COLUMN {
                SEQUENCE_NUMBER(0, DBConstants.DBCOLUMN_SEQUENCE_NUMBER),