|
@@ -64,11 +64,10 @@ static int submit_query(db_con_t* _h, const char* _s)
|
|
|
t = time(0);
|
|
|
if ((t - CON_TIMESTAMP(_h)) > ping_interval) {
|
|
|
if (mysql_ping(CON_CONNECTION(_h))) {
|
|
|
- LOG(L_ERR, "submit_query(): mysql_ping failed\n");
|
|
|
- } else {
|
|
|
- CON_TIMESTAMP(_h) = t;
|
|
|
+ DBG("submit_query(): mysql_ping failed\n");
|
|
|
}
|
|
|
}
|
|
|
+ CON_TIMESTAMP(_h) = t;
|
|
|
}
|
|
|
|
|
|
/* screws up the terminal when the query contains a BLOB :-( (by bogdan)
|