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
52666fca
Commit
52666fca
authored
Dec 19, 2004
by
petr@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix for Bug#7386 - IM fails to compile on alpha with Compaq C++ compiler
parent
7d68f2e4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
server-tools/instance-manager/mysql_connection.cc
server-tools/instance-manager/mysql_connection.cc
+3
-1
server-tools/instance-manager/priv.cc
server-tools/instance-manager/priv.cc
+4
-0
No files found.
server-tools/instance-manager/mysql_connection.cc
View file @
52666fca
...
...
@@ -191,9 +191,11 @@ void Mysql_connection_thread::run()
int
Mysql_connection_thread
::
check_connection
()
{
ulong
pkt_len
=
0
;
// to hold client reply length
/* maximum size of the version string */
enum
{
MAX_VERSION_LENGTH
=
80
};
/* buffer for the first packet */
/* packet contains: */
char
buff
[
mysqlmanager_version_length
+
1
+
// server version, 0-ended
char
buff
[
MAX_VERSION_LENGTH
+
1
+
// server version, 0-ended
4
+
// connection id
SCRAMBLE_LENGTH
+
2
+
// scramble (in 2 pieces)
18
];
// server variables: flags,
...
...
server-tools/instance-manager/priv.cc
View file @
52666fca
...
...
@@ -16,6 +16,10 @@
#include "priv.h"
/*
The following string must be less then 80 characters, as
mysql_connection.cc relies on it
*/
const
char
mysqlmanager_version
[]
=
"0.2-alpha"
;
const
int
mysqlmanager_version_length
=
sizeof
(
mysqlmanager_version
)
-
1
;
...
...
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