IBPP::Transaction tr = IBPP::TransactionFactory(db, IBPP::amRead, til, tlr);
IBPP::Statement st = IBPP::StatementFactory(db, tr);
-std::string name;
-
try
{
tr->Start();
st->Execute("select name from tb_tariffs");
while (st->Fetch())
{
+ std::string name;
st->Get(1, name);
tariffsList->push_back(name);
}