diff --git a/client/mysql.cc b/client/mysql.cc index 02ffacc722f..b1042d1be00 100644 --- a/client/mysql.cc +++ b/client/mysql.cc @@ -5357,6 +5357,7 @@ static void init_username() full_username=my_strdup(cur[0],MYF(MY_WME)); part_username=my_strdup(strtok(cur[0],"@"),MYF(MY_WME)); (void) mysql_fetch_row(result); // Read eof + mysql_free_result(result); } } diff --git a/sql/sql_string.cc b/sql/sql_string.cc index 68a15d65d1b..c6b7f3e68ed 100644 --- a/sql/sql_string.cc +++ b/sql/sql_string.cc @@ -553,7 +553,7 @@ bool String::append(const char *s,size_t size) } /* - For an ASCII compatinble string we can just append. + For an ASCII compatible string we can just append. */ return Binary_string::append(s, arg_length); }