#include <string>
#include <vector>
-#include <algorithm>
-
-#include <cctype>
namespace
{
mutex(),
til(IBPP::ilConcurrency),
tlr(IBPP::lrWait),
+ schemaVersion(0),
logger(GetPluginLogger(GetStgLogger(), "store_firebird"))
{
pthread_mutex_init(&mutex, NULL);
for(i = settings.moduleParams.begin(); i != settings.moduleParams.end(); ++i)
{
- s = i->param;
-
- std::transform(s.begin(), s.end(), s.begin(), ::tolower);
+ s = ToLower(i->param);
if (s == "server")
db_server = *(i->value.begin());
IBPP::Transaction tr = IBPP::TransactionFactory(db, IBPP::amRead, til, tlr);
IBPP::Statement st = IBPP::StatementFactory(db, tr);
-std::string name;
-
try
{
tr->Start();