Commit 124dd034 by Dane Springmeyer

integrate minor C++ fixes from @mscdex - refs #223

parent bbb5de16
...@@ -105,7 +105,8 @@ protected: ...@@ -105,7 +105,8 @@ protected:
pending(0), pending(0),
serialize(false), serialize(false),
debug_trace(NULL), debug_trace(NULL),
debug_profile(NULL) { debug_profile(NULL),
update_event(NULL) {
} }
......
...@@ -247,7 +247,7 @@ template <class T> T* Statement::Bind(const Arguments& args, int start, int last ...@@ -247,7 +247,7 @@ template <class T> T* Statement::Bind(const Arguments& args, int start, int last
return baton; return baton;
} }
bool Statement::Bind(const Parameters parameters) { bool Statement::Bind(const Parameters & parameters) {
if (parameters.size() == 0) { if (parameters.size() == 0) {
return true; return true;
} }
......
...@@ -217,7 +217,7 @@ protected: ...@@ -217,7 +217,7 @@ protected:
template <class T> inline Values::Field* BindParameter(const Handle<Value> source, T pos); template <class T> inline Values::Field* BindParameter(const Handle<Value> source, T pos);
template <class T> T* Bind(const Arguments& args, int start = 0, int end = -1); template <class T> T* Bind(const Arguments& args, int start = 0, int end = -1);
bool Bind(const Parameters parameters); bool Bind(const Parameters & parameters);
static void GetRow(Row* row, sqlite3_stmt* stmt); static void GetRow(Row* row, sqlite3_stmt* stmt);
static Local<Object> RowToJS(Row* row); static Local<Object> RowToJS(Row* row);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment