Permalink
Browse files

Fixing a bug where previous values were set instead of empty

  • Loading branch information...
1 parent fc8d570 commit c4071181404362b60b9d3a3aed9784b25459fffa @mauritslamers mauritslamers committed Aug 15, 2010
Showing with 3 additions and 0 deletions.
  1. +3 −0 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 c407118

Please sign in to comment.