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
1d041fa5
Commit
1d041fa5
authored
Nov 21, 2006
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge perch.ndb.mysql.com:/home/jonas/src/50-work
into perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-ndb
parents
5e6b5872
ac79cbb1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
ndb/src/common/util/InputStream.cpp
ndb/src/common/util/InputStream.cpp
+0
-1
ndb/src/common/util/socket_io.cpp
ndb/src/common/util/socket_io.cpp
+5
-0
No files found.
ndb/src/common/util/InputStream.cpp
View file @
1d041fa5
...
...
@@ -65,6 +65,5 @@ SocketInputStream::gets(char * buf, int bufLen) {
if
(
res
==
-
1
)
return
0
;
return
buf
;
}
ndb/src/common/util/socket_io.cpp
View file @
1d041fa5
...
...
@@ -98,6 +98,11 @@ readln_socket(NDB_SOCKET_TYPE socket, int timeout_millis,
ptr
+=
t
;
len
-=
t
;
}
if
(
i
>
0
&&
buf
[
i
-
1
]
==
'\r'
)
{
buf
[
i
-
1
]
=
'\n'
;
ptr
--
;
}
ptr
[
0
]
=
0
;
return
ptr
-
buf
;
}
...
...
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