summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 87cdeb2)
raw | patch | inline | side by side (parent: 87cdeb2)
author | Sebastian Harl <sh@tokkee.org> | |
Fri, 26 Mar 2010 20:50:42 +0000 (21:50 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Fri, 26 Mar 2010 20:50:42 +0000 (21:50 +0100) |
There is no reason to skip unrelated queries because of that.
src/postgresql.c | patch | blob | history |
diff --git a/src/postgresql.c b/src/postgresql.c
index 0141b23e22bed1236cc92bc8bd6a338f3689547a..9e916596e9fc2dc366f23965e35ca516cc326c2b 100644 (file)
--- a/src/postgresql.c
+++ b/src/postgresql.c
q = db->queries[i];
if ((0 != db->server_version)
- && (udb_query_check_version (q, db->server_version) <= 0))
- return -1;
+ && (udb_query_check_version (q, db->server_version) <= 0))
+ continue;
c_psql_exec_query (db, q);
}