summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f1afdb3)
raw | patch | inline | side by side (parent: f1afdb3)
author | Sebastian Harl <sh@tokkee.org> | |
Wed, 14 Nov 2012 20:08:42 +0000 (21:08 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Wed, 14 Nov 2012 20:08:42 +0000 (21:08 +0100) |
src/postgresql.c | patch | blob | history |
diff --git a/src/postgresql.c b/src/postgresql.c
index 8a9fa10186fa6ae102435cd9f0c1cd9996b0ccde..ff6fa86017a1fca62d1420806cffec9d27618537 100644 (file)
--- a/src/postgresql.c
+++ b/src/postgresql.c
params[4], params[5], params[6], params[7]);
/* this will abort any current transaction -> restart */
- if (db->commit_interval > 0)
+ if (db->next_commit > 0)
if (c_psql_commit (db) == 0)
c_psql_begin (db);