[Pkg-owncloud-commits] [owncloud-client] 40/175: OwnSql: Fix numRowsAffected()
Sandro Knauß
hefee-guest at moszumanska.debian.org
Sat Aug 8 10:36:25 UTC 2015
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit 39d103adf7a1b232f16229bf819c487085052553
Author: Markus Goetz <markus at woboq.com>
Date: Wed May 13 12:54:03 2015 +0200
OwnSql: Fix numRowsAffected()
---
src/libsync/ownsql.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libsync/ownsql.cpp b/src/libsync/ownsql.cpp
index ab87876..0aba756 100644
--- a/src/libsync/ownsql.cpp
+++ b/src/libsync/ownsql.cpp
@@ -345,7 +345,7 @@ QString SqlQuery::lastQuery() const
int SqlQuery::numRowsAffected()
{
- return 1;
+ return sqlite3_changes(_db);
}
void SqlQuery::finish()
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list