changed stop/start slave error message

changed stop/start slave error message including
errors code and status message

ERROR 1254 (HY000): Slave connection is already running
ERROR 1199 (HY000): Slave connection is not running
This commit is contained in:
MassimilianoPinto
2015-05-28 11:14:59 +02:00
parent 453dd64273
commit f54fcc7e4e
2 changed files with 57 additions and 3 deletions

View File

@ -231,7 +231,7 @@ int rval;
strcpy(version_string,tmp);
}
ptr = strstr(tmp, "-embedded");
ptr = strstr(version_string, "-embedded");
if (ptr) {
*ptr = '\0';
}