[Pkg-owncloud-commits] [owncloud-client] 174/333: Fix quoting of query by text.
Sandro Knauß
hefee-guest at moszumanska.debian.org
Thu Apr 17 23:16:50 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 eb59f98ec906e15883199616d819a74d508763a8
Author: Klaas Freitag <freitag at owncloud.com>
Date: Wed Mar 19 21:00:59 2014 +0100
Fix quoting of query by text.
---
csync/src/csync_statedb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/csync/src/csync_statedb.c b/csync/src/csync_statedb.c
index 427b379..978561f 100644
--- a/csync/src/csync_statedb.c
+++ b/csync/src/csync_statedb.c
@@ -469,7 +469,7 @@ csync_file_stat_t *csync_statedb_get_stat_by_file_id(CSYNC *ctx,
}
if( ctx->statedb.by_fileid_stmt == NULL ) {
- const char *query = "SELECT * FROM metadata WHERE fileid='?1'";
+ const char *query = "SELECT * FROM metadata WHERE fileid=?1";
rc = sqlite3_prepare_v2(ctx->statedb.db, query, strlen(query), &ctx->statedb.by_fileid_stmt, NULL);
if( rc != SQLITE_OK ) {
--
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