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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
4a22082b
Commit
4a22082b
authored
Mar 24, 2006
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb -
more compiler warnings...
parent
31efa863
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
storage/ndb/include/util/InputStream.hpp
storage/ndb/include/util/InputStream.hpp
+3
-0
No files found.
storage/ndb/include/util/InputStream.hpp
View file @
4a22082b
...
@@ -25,6 +25,7 @@
...
@@ -25,6 +25,7 @@
*/
*/
class
InputStream
{
class
InputStream
{
public:
public:
virtual
~
InputStream
()
{}
virtual
char
*
gets
(
char
*
buf
,
int
bufLen
)
=
0
;
virtual
char
*
gets
(
char
*
buf
,
int
bufLen
)
=
0
;
};
};
...
@@ -32,6 +33,7 @@ class FileInputStream : public InputStream {
...
@@ -32,6 +33,7 @@ class FileInputStream : public InputStream {
FILE
*
f
;
FILE
*
f
;
public:
public:
FileInputStream
(
FILE
*
file
=
stdin
);
FileInputStream
(
FILE
*
file
=
stdin
);
virtual
~
FileInputStream
()
{}
char
*
gets
(
char
*
buf
,
int
bufLen
);
char
*
gets
(
char
*
buf
,
int
bufLen
);
};
};
...
@@ -42,6 +44,7 @@ class SocketInputStream : public InputStream {
...
@@ -42,6 +44,7 @@ class SocketInputStream : public InputStream {
unsigned
m_timeout
;
unsigned
m_timeout
;
public:
public:
SocketInputStream
(
NDB_SOCKET_TYPE
socket
,
unsigned
readTimeout
=
1000
);
SocketInputStream
(
NDB_SOCKET_TYPE
socket
,
unsigned
readTimeout
=
1000
);
virtual
~
SocketInputStream
()
{}
char
*
gets
(
char
*
buf
,
int
bufLen
);
char
*
gets
(
char
*
buf
,
int
bufLen
);
};
};
...
...
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