[Pkg-owncloud-commits] [owncloud-client] 163/211: Csync tests: Don't use sqlite3_close_v2.
Sandro Knauß
hefee-guest at moszumanska.debian.org
Sat Oct 25 09:10:41 UTC 2014
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 d77fcea3654bcb1154f4a84f5b4a5461a81458dc
Author: Christian Kamm <kamm at incasoftware.de>
Date: Wed Oct 22 12:44:03 2014 +0200
Csync tests: Don't use sqlite3_close_v2.
---
csync/tests/csync_tests/check_csync_statedb_load.c | 2 +-
csync/tests/csync_tests/check_csync_statedb_query.c | 2 +-
csync/tests/csync_tests/check_csync_update.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/csync/tests/csync_tests/check_csync_statedb_load.c b/csync/tests/csync_tests/check_csync_statedb_load.c
index 7bc148d..f377abf 100644
--- a/csync/tests/csync_tests/check_csync_statedb_load.c
+++ b/csync/tests/csync_tests/check_csync_statedb_load.c
@@ -47,7 +47,7 @@ static void setup(void **state) {
rc = sqlite3_open_v2(TESTDB, &db, SQLITE_OPEN_CREATE | SQLITE_OPEN_READWRITE, NULL);
assert_int_equal(rc, SQLITE_OK);
- rc = sqlite3_close_v2(db);
+ rc = sqlite3_close(db);
assert_int_equal(rc, SQLITE_OK);
}
diff --git a/csync/tests/csync_tests/check_csync_statedb_query.c b/csync/tests/csync_tests/check_csync_statedb_query.c
index 91dd90a..6e6b488 100644
--- a/csync/tests/csync_tests/check_csync_statedb_query.c
+++ b/csync/tests/csync_tests/check_csync_statedb_query.c
@@ -50,7 +50,7 @@ static void setup(void **state)
sqlite3 *db = NULL;
rc = sqlite3_open_v2(TESTDB, &db, SQLITE_OPEN_CREATE | SQLITE_OPEN_READWRITE, NULL);
assert_int_equal(rc, SQLITE_OK);
- rc = sqlite3_close_v2(db);
+ rc = sqlite3_close(db);
assert_int_equal(rc, SQLITE_OK);
rc = csync_statedb_load(csync, TESTDB, &csync->statedb.db);
diff --git a/csync/tests/csync_tests/check_csync_update.c b/csync/tests/csync_tests/check_csync_update.c
index e3845dc..2f90d00 100644
--- a/csync/tests/csync_tests/check_csync_update.c
+++ b/csync/tests/csync_tests/check_csync_update.c
@@ -129,7 +129,7 @@ static void setup_ftw(void **state)
rc = sqlite3_open_v2(TESTDB, &db, SQLITE_OPEN_CREATE | SQLITE_OPEN_READWRITE, NULL);
assert_int_equal(rc, SQLITE_OK);
statedb_create_metadata_table(db);
- rc = sqlite3_close_v2(db);
+ rc = sqlite3_close(db);
assert_int_equal(rc, SQLITE_OK);
rc = csync_statedb_load(csync, TESTDB, &csync->statedb.db);
--
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