*/
#include "firebird_store.h"
-#include "ibpp.h"
+#include "stg/ibpp.h"
//-----------------------------------------------------------------------------
int FIREBIRD_STORE::GetServicesList(vector<string> * servicesList) const
where name = ?");
st->Set(1, sc.comment);
st->Set(2, sc.cost);
- st->Set(3, sc.payDay);
+ st->Set(3, static_cast<int16_t>(sc.payDay));
st->Set(4, sc.name);
st->Execute();
tr->Commit();
{
st->Get(3, sc->comment);
st->Get(4, sc->cost);
- st->Get(5, sc->payDay);
+ int16_t pd;
+ st->Get(5, pd);
+ sc->payDay = pd;
}
else
{