summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
c67901e)
query in the if(schemaversion > 1) construction.
res += ", Period='" + TARIFF::PeriodToString(td.tariffConf.period) + "'";
if (schemaVersion > 1)
res += ", Period='" + TARIFF::PeriodToString(td.tariffConf.period) + "'";
if (schemaVersion > 1)
- res += ", change_policy='" + TARIFF::ChangePolicyToString(td.tariffConf.changePolicy) + "'";
+ res += ", change_policy='" + TARIFF::ChangePolicyToString(td.tariffConf.changePolicy) + "'"\
+ ", change_policy_timeout='" + formatTime(td.tariffConf.changePolicy) + "'";
strprintf(¶m, " WHERE name='%s' LIMIT 1", tariffName.c_str());
res += param;
strprintf(¶m, " WHERE name='%s' LIMIT 1", tariffName.c_str());
res += param;