Skip to content

Commit 5f640a7

Browse files
committed
Logs
1 parent 2dee30d commit 5f640a7

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

orm_lib/src/mysql_impl/MysqlConnection.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ void MysqlConnection::execSqlInLoop(
435435
assert(!sql.empty());
436436
if (status_ != ConnectStatus::Ok)
437437
{
438-
LOG_ERROR << "MySQL connection is not ready";
438+
LOG_ERROR << "Connection is not ready";
439439
auto exceptPtr =
440440
std::make_exception_ptr(drogon::orm::BrokenConnection());
441441
exceptCallback(exceptPtr);

orm_lib/src/postgresql_impl/PgBatchConnection.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ void PgConnection::execSqlInLoop(
243243
LOG_TRACE << sql;
244244
if (status_ != ConnectStatus::Ok)
245245
{
246-
LOG_ERROR << "MySQL connection is not ready";
246+
LOG_ERROR << "Connection is not ready";
247247
auto exceptPtr =
248248
std::make_exception_ptr(drogon::orm::BrokenConnection());
249249
exceptCallback(exceptPtr);

orm_lib/src/postgresql_impl/PgConnection.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ void PgConnection::execSqlInLoop(
232232
assert(!sql.empty());
233233
if (status_ != ConnectStatus::Ok)
234234
{
235-
LOG_ERROR << "MySQL connection is not ready";
235+
LOG_ERROR << "Connection is not ready";
236236
auto exceptPtr =
237237
std::make_exception_ptr(drogon::orm::BrokenConnection());
238238
exceptCallback(exceptPtr);

orm_lib/src/sqlite3_impl/Sqlite3Connection.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ void Sqlite3Connection::execSqlInQueue(
170170
LOG_TRACE << "sql:" << sql;
171171
if (status_ != ConnectStatus::Ok)
172172
{
173-
LOG_ERROR << "MySQL connection is not ready";
173+
LOG_ERROR << "Connection is not ready";
174174
auto exceptPtr =
175175
std::make_exception_ptr(drogon::orm::BrokenConnection());
176176
exceptCallback(exceptPtr);

0 commit comments

Comments
 (0)