Skip to content

Commit

Permalink
Remove unnecessary assert (thanks to @carter-thaxton)
Browse files Browse the repository at this point in the history
  • Loading branch information
orlandov committed Aug 13, 2010
1 parent 9798003 commit e204b68
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/statement.cc
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,6 @@ int Statement::EIO_AfterStep(eio_req *req) {
break;

case SQLITE_TEXT:
assert(strlen((char*)sto->column_data_[i]));
row->Set(String::NewSymbol(sto->column_names_[i]),
String::New((char *) (sto->column_data_[i])));
// don't free this pointer, it's owned by sqlite3
Expand Down

0 comments on commit e204b68

Please sign in to comment.