upload = ?, \
download = ? \
where fk_stat = ? and dir_num = ?");
- st->Set(1, (int64_t)stat.up[i]);
- st->Set(2, (int64_t)stat.down[i]);
+ st->Set(1, (int64_t)stat.monthUp[i]);
+ st->Set(2, (int64_t)stat.monthDown[i]);
st->Set(3, sid);
st->Set(4, i);
st->Execute();
if (st->Fetch())
{
st->Get(3, dir);
- st->Get(5, (int64_t &)stat->up[dir]);
- st->Get(4, (int64_t &)stat->down[dir]);
+ st->Get(5, (int64_t &)stat->monthUp[dir]);
+ st->Get(4, (int64_t &)stat->monthDown[dir]);
}
else
{