SQLITE_STATIC));
DB_ACTION(sqlite3_bind_int(stmt, 2, stat->rcv_count));
DB_ACTION(sqlite3_bind_int(stmt, 3, stat->snd_count));
- DB_ACTION(sqlite3_bind_int64(stmt, 4,
- (sqlite3_int64)(last_touch_time)));
+ DB_ACTION(sqlite3_bind_int64(stmt, 4, (sqlite3_int64)last_touch_time));
DB_ACTION(sqlite3_bind_int(stmt, 5, (int)(stat_key->iftype)));
DB_ACTION(sqlite3_bind_int(stmt, 6, (int)(stat->is_roaming)));
DB_ACTION(sqlite3_bind_int(stmt, 7, (int)hw_net_protocol_type));
goto handle_error; //LCOV_EXCL_LINE
}
- STC_LOGD("App stat recorded [%s]", stat->app_id);
+ if (STC_DEBUG_LOG)
+ STC_LOGD("App stat recorded [%s]", stat->app_id);
handle_error:
sqlite3_reset(stmt);