File tree Expand file tree Collapse file tree 3 files changed +1
-8
lines changed Expand file tree Collapse file tree 3 files changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -117,20 +117,14 @@ node_db_mysql::Result::~Result() {
117
117
}
118
118
119
119
void node_db_mysql::Result::free () throw() {
120
- this ->release ();
121
-
122
120
if (this ->columns != NULL ) {
123
121
for (uint16_t i = 0 ; i < this ->totalColumns ; i++) {
124
122
delete this ->columns [i];
125
123
}
126
124
delete [] this ->columns ;
127
125
}
128
- }
129
-
130
- void node_db_mysql::Result::release () throw() {
131
126
if (this ->result != NULL ) {
132
127
mysql_free_result (this ->result );
133
- this ->result = NULL ;
134
128
}
135
129
}
136
130
Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ class Result : public node_db::Result {
27
27
28
28
explicit Result (MYSQL* connection) throw(node_db::Exception&);
29
29
~Result ();
30
- void release () throw();
31
30
bool hasNext () const throw();
32
31
char ** next () throw(node_db::Exception&);
33
32
unsigned long * columnLengths () throw(node_db::Exception&);
You can’t perform that action at this time.
0 commit comments