Permalink
Browse files

Fixing a bug where previous values were set instead of empty

  • Loading branch information...
1 parent df07444 commit d7159d05f25bc43e551ebcfae4c71a37600d2c78 @mauritslamers mauritslamers committed Aug 15, 2010
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/mysql_bindings_result.cc
View
3 src/mysql_bindings_result.cc
@@ -128,6 +128,9 @@ void MysqlConn::MysqlResult::SetFieldValue(
if (field_value) {
js_field = String::New(field_value);
}
+ else {
+ js_field = String::New("");
+ }
}
}

0 comments on commit d7159d0

Please sign in to comment.