modify terminology:calendar->book,allday->localtime,normal->utime,svc->service
[platform/core/pim/calendar-service.git] / server / db / cal_db_instance_helper.c
index 648d3a8..e371706 100644 (file)
@@ -29,7 +29,7 @@ int cal_db_instance_helper_insert_utime_instance(int event_id, long long int s,
        int ret = 0;
        char query[CAL_DB_SQL_MAX_LEN] = {0};
        snprintf(query, sizeof(query), "INSERT INTO %s (event_id, dtstart_utime, dtend_utime) "
-                       "VALUES (%d, %lld, %lld) ", CAL_TABLE_NORMAL_INSTANCE, event_id, s, e);
+                       "VALUES (%d, %lld, %lld) ", CAL_TABLE_UTIME_INSTANCE, event_id, s, e);
 
        ret = cal_db_util_query_exec(query);
        if (CALENDAR_ERROR_NONE != ret) {
@@ -47,7 +47,7 @@ int cal_db_instance_helper_insert_localtime_instance(int event_id, const char *s
        int ret = 0;
        char query[CAL_DB_SQL_MAX_LEN] = {0};
        snprintf(query, sizeof(query), "INSERT INTO %s (event_id, dtstart_datetime, dtend_datetime) "
-                       "VALUES (%d, '%s', '%s') ", CAL_TABLE_ALLDAY_INSTANCE, event_id, s, e);
+                       "VALUES (%d, '%s', '%s') ", CAL_TABLE_LOCALTIME_INSTANCE, event_id, s, e);
 
        ret = cal_db_util_query_exec(query);
        if (CALENDAR_ERROR_NONE != ret) {