Permalink
Browse files

Implementing Result::release() by default

  • Loading branch information...
1 parent 14e0097 commit 2017ee5576b6a05e0adc8c44670f808a971e949f @mariano committed Jun 3, 2011
Showing with 4 additions and 1 deletion.
  1. +3 −0 result.cc
  2. +1 −1 result.h
View
@@ -22,3 +22,6 @@ uint16_t node_db::Result::warningCount() const throw(node_db::Exception&){
node_db::Result::~Result() {
}
+
+void node_db::Result::release() {
+}
View
@@ -31,7 +31,7 @@ class Result {
};
virtual ~Result();
- virtual void release() throw() = 0;
+ virtual void release() throw();
virtual bool hasNext() const throw(Exception&) = 0;
virtual char** next() throw(Exception&) = 0;
virtual unsigned long* columnLengths() throw(Exception&) = 0;

0 comments on commit 2017ee5

Please sign in to comment.