mirror of
https://github.com/MariaDB/server.git
synced 2026-04-21 07:45:32 +02:00
5.3 merge
This commit is contained in:
commit
6b6d40fa6c
1 changed files with 1 additions and 1 deletions
|
|
@ -1227,7 +1227,7 @@ int main(int argc,char *argv[])
|
|||
|
||||
put_info("Welcome to the MariaDB monitor. Commands end with ; or \\g.",
|
||||
INFO_INFO);
|
||||
sprintf((char*) glob_buffer.ptr(),
|
||||
my_snprintf((char*) glob_buffer.ptr(), glob_buffer.alloced_length(),
|
||||
"Your %s connection id is %lu\nServer version: %s\n",
|
||||
mysql_get_server_name(&mysql),
|
||||
mysql_thread_id(&mysql), server_version_string(&mysql));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue