Navigation Menu

Skip to content

Commit

Permalink
Merge branch 'master' of github.com:SOCI/soci
Browse files Browse the repository at this point in the history
  • Loading branch information
mloskot committed Feb 20, 2012
2 parents 1070898 + 0224539 commit 901e1ba
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/backends/sqlite3/statement.cpp
Expand Up @@ -276,8 +276,7 @@ sqlite3_statement_backend::fetch(int number)

long long sqlite3_statement_backend::get_affected_rows()
{
// ...
return -1;
return sqlite3_changes(session_.conn_);
}

int sqlite3_statement_backend::get_number_of_rows()
Expand Down

0 comments on commit 901e1ba

Please sign in to comment.