summaryrefslogtreecommitdiff
path: root/ndb/include/util/InputStream.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'ndb/include/util/InputStream.hpp')
-rw-r--r--ndb/include/util/InputStream.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/ndb/include/util/InputStream.hpp b/ndb/include/util/InputStream.hpp
index b2a56b1e433..56c43686df1 100644
--- a/ndb/include/util/InputStream.hpp
+++ b/ndb/include/util/InputStream.hpp
@@ -25,6 +25,7 @@
*/
class InputStream {
public:
+ virtual ~InputStream() {}
virtual char* gets(char * buf, int bufLen) = 0;
};
@@ -40,6 +41,7 @@ extern FileInputStream Stdin;
class SocketInputStream : public InputStream {
NDB_SOCKET_TYPE m_socket;
unsigned m_timeout;
+ bool m_startover;
public:
SocketInputStream(NDB_SOCKET_TYPE socket, unsigned readTimeout = 1000);
char* gets(char * buf, int bufLen);