diff --git a/dbcon/mysql/ha_mcs_client_udfs.cpp b/dbcon/mysql/ha_mcs_client_udfs.cpp index 35e8ff664..bdaec9ed4 100644 --- a/dbcon/mysql/ha_mcs_client_udfs.cpp +++ b/dbcon/mysql/ha_mcs_client_udfs.cpp @@ -381,7 +381,7 @@ extern "C" try { - if (dbrm.getSystemReady() && dbrm.getSystemQueryReady()) + if (dbrm.getSystemReady() > 0 && dbrm.getSystemQueryReady() > 0) { return 1; }