From 3f65f48338f94ea450701d55e7d0fe61826680b8 Mon Sep 17 00:00:00 2001 From: Elena Mamontova Date: Fri, 23 Sep 2016 13:43:20 +0300 Subject: [PATCH] Ticket 37. The change-policy-timeout field added to the INSERT INTO tariffs query. --- projects/stargazer/plugins/store/mysql/mysql_store.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/stargazer/plugins/store/mysql/mysql_store.cpp b/projects/stargazer/plugins/store/mysql/mysql_store.cpp index c6217183..fb8b085c 100644 --- a/projects/stargazer/plugins/store/mysql/mysql_store.cpp +++ b/projects/stargazer/plugins/store/mysql/mysql_store.cpp @@ -425,7 +425,7 @@ if(!IsTablePresent("tariffs",sock)) res += "PassiveCost=0.0, Fee=10.0, Free=0,"\ "SinglePrice0=1, SinglePrice1=1,PriceDayA1=0.75,PriceDayB1=0.75,"\ "PriceNightA0=1.0,PriceNightB0=1.0,TraffType='up+down',period='month',"\ - "change_policy='allow'"; + "change_policy='allow', change_policy_timeout='1970-01-01 00:00:00'"; if(MysqlQuery(res.c_str(),sock)) { -- 2.44.2