diff options
author | Arne Georg Gleditsch <argggh@lxr.linpro.no> | 2007-11-27 01:11:32 +0100 |
---|---|---|
committer | Arne Georg Gleditsch <argggh@lxr.linpro.no> | 2007-11-27 01:11:32 +0100 |
commit | 02066032cb2aa49b5d7cebdbfa5d83dd2f3571c0 (patch) | |
tree | cc904ea38f2583d09113420b0bdda045df2fd604 /lib | |
parent | 77f76725888920d10b527db5f291d704f0f5b26d (diff) |
Avoid spurious commits.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/LXRng/Index/DBI.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/LXRng/Index/DBI.pm b/lib/LXRng/Index/DBI.pm index 2b796bd..5288eda 100644 --- a/lib/LXRng/Index/DBI.pm +++ b/lib/LXRng/Index/DBI.pm @@ -17,7 +17,7 @@ sub transaction { # AutoCommit state. $code->(); } - $self->dbh->commit(); + $self->dbh->commit() unless $self->dbh->{AutoCommit}; } sub _to_task { |