]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/store/firebird/firebird_store_admins.cpp
Verbose BLOWFISH_CTX failures.
[stg.git] / projects / stargazer / plugins / store / firebird / firebird_store_admins.cpp
index bb0bc0f425848622dbe7036efe2513131864be53..a6369acca8480ce424d1ae89898b957b74114c2c 100644 (file)
@@ -46,14 +46,13 @@ STG_LOCKER lock(&mutex);
 IBPP::Transaction tr = IBPP::TransactionFactory(db, IBPP::amRead, til, tlr);
 IBPP::Statement st = IBPP::StatementFactory(db, tr);
 
-std::string login;
-
 try
     {
     tr->Start();
     st->Execute("select login from tb_admins");
     while (st->Fetch())
         {
+        std::string login;
         st->Get(1, login);
         adminsList->push_back(login);
         }