proxy_error("Detected a broken connection while setting INIT CONNECT on %s , %d : %d, %s\n",myconn->parent->address,myconn->parent->port,myerr,mysql_error(myconn->mysql));
proxy_error("Detected a broken connection while setting SQL_LOG_BIN on %s , %d : %d, %s\n",myconn->parent->address,myconn->parent->port,myerr,mysql_error(myconn->mysql));
proxy_error("Detected a broken connection while setting SQL_MODE on %s , %d : %d, %s\n",myconn->parent->address,myconn->parent->port,myerr,mysql_error(myconn->mysql));
proxy_error("Detected a broken connection while setting TIME_ZONE on %s , %d : %d, %s\n",myconn->parent->address,myconn->parent->port,myerr,mysql_error(myconn->mysql));
proxy_error("Detected a broken connection during INIT_DB on %s , %d : %d, %s\n",myconn->parent->address,myconn->parent->port,myerr,mysql_error(myconn->mysql));
proxy_error("Detected a broken connection during change user on %s, %d : %d, %s\n",myconn->parent->address,myconn->parent->port,myerr,mysql_error(myconn->mysql));
proxy_error("Detected a broken connection during SET NAMES on %s , %d : %d, %s\n",myconn->parent->address,myconn->parent->port,myerr,mysql_error(myconn->mysql));
proxy_error("Detected a broken connection during SET AUTOCOMMIT on %s , %d : %d, %s\n",myconn->parent->address,myconn->parent->port,myerr,mysql_error(myconn->mysql));
@ -2791,7 +2791,7 @@ handler_again:
handler_ret=-1;
returnhandler_ret;
}
if(myerr>2000){
if(myerr>=2000){
boolretry_conn=false;
// client error, serious
proxy_error("Detected a broken connection during query on (%d,%s,%d) , FD (Conn:%d , MyDS:%d) : %d, %s\n",myconn->parent->myhgc->hid,myconn->parent->address,myconn->parent->port,myds->fd,myds->myconn->fd,myerr,(errmsg?errmsg:mysql_error(myconn->mysql)));