Skip to content

Commit

Permalink
Implementing Result::release() by default
Browse files Browse the repository at this point in the history
  • Loading branch information
mariano committed Jun 3, 2011
1 parent 14e0097 commit 2017ee5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions result.cc
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ uint16_t node_db::Result::warningCount() const throw(node_db::Exception&){

node_db::Result::~Result() {
}

void node_db::Result::release() {
}
2 changes: 1 addition & 1 deletion result.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2017ee5

Please sign in to comment.