Skip to content

Commit 51bc4a9

Browse files
committed
fixed incorrect reset of baton->error
1 parent cfcb0cc commit 51bc4a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/executeBaton.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ ExecuteBaton::ExecuteBaton(Connection* connection, const char* sql, v8::Local<v8
1212
this->callback = Persistent<Function>::New(*callback);
1313
}
1414
this->outputs = new std::vector<output_t*>();
15-
CopyValuesToBaton(this, values);
1615
this->error = NULL;
16+
CopyValuesToBaton(this, values);
1717
}
1818

1919
ExecuteBaton::~ExecuteBaton() {

0 commit comments

Comments
 (0)