mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Added handler and temporary table usage to mytop
Fixed prompt on reconnect in mysql client client/mysql.cc: Free server_version for reconnect. This ensures that prompt is correct if reconnecting to a different server. scripts/mytop.sh: Added handler and temporary table usage
This commit is contained in:
@ -2780,6 +2780,8 @@ static int reconnect(void)
|
||||
}
|
||||
if (!connected)
|
||||
return put_info("Can't connect to the server\n",INFO_ERROR);
|
||||
my_free(server_version,MYF(MY_ALLOW_ZERO_PTR));
|
||||
server_version= 0;
|
||||
/* purecov: end */
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user