Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
16e0cae0
Commit
16e0cae0
authored
Jan 28, 2014
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed a client-side overflow in mysql cli
parent
5f5f7bef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
client/mysql.cc
client/mysql.cc
+1
-1
No files found.
client/mysql.cc
View file @
16e0cae0
...
...
@@ -1171,7 +1171,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
\n
Server version: %s
\n
"
,
mysql_get_server_name
(
&
mysql
),
mysql_thread_id
(
&
mysql
),
server_version_string
(
&
mysql
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment