Do not log errors from initial database statements

This commit is contained in:
seelabs
2015-03-20 13:14:43 -07:00
committed by Tom Ritchford
parent 35a8ce2349
commit 836dfb6503
2 changed files with 2 additions and 5 deletions

View File

@@ -49,10 +49,7 @@ DatabaseCon::DatabaseCon (Setup const& setup,
}
catch (soci::soci_error& e)
{
WriteLog (lsWARNING, DatabaseCon)
<< "Error executing initial statements for: " << strName
<< " error: " << e.what () << "\n"
<< " statement: " << initStrings[i];
// ignore errors
}
}
}

View File

@@ -39,7 +39,7 @@
#include <vector>
namespace sqlite_api {
class sqlite3;
struct sqlite3;
}
namespace ripple {