commit ineffective with AutoCommit enabled at /usr/bin/zmfilter.pl line 402.

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
MathieuMD
Posts: 2
Joined: Fri Sep 24, 2021 2:28 pm

commit ineffective with AutoCommit enabled at /usr/bin/zmfilter.pl line 402.

Post by MathieuMD »

On a fresh ZM 1.36.7 install on Ubuntu 20.04.3, we have the following message in the log /var/log/zm/zmdc.log:

Code: Select all

commit ineffective with AutoCommit enabled at /usr/bin/zmfilter.pl line 402.
This line 402 in zmfilter.pl says:

Code: Select all

      $ZoneMinder::Database::dbh->commit() if !$$filter{LockRows};
There is a 13 years old thread talking about AutoCommit in Perl, but I'm far from being able to say if it's good idea or not...

Is there anything we could (or should) do about it?
User avatar
iconnor
Posts: 2881
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: commit ineffective with AutoCommit enabled at /usr/bin/zmfilter.pl line 402.

Post by iconnor »

We will investigate why it is happening because it shouldn't be.

However it is harmless.
User avatar
iconnor
Posts: 2881
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: commit ineffective with AutoCommit enabled at /usr/bin/zmfilter.pl line 402.

Post by iconnor »

I'm pretty sure 402 is bogus and should be removed. Will be doing so in 1.36.8
MathieuMD
Posts: 2
Joined: Fri Sep 24, 2021 2:28 pm

Re: commit ineffective with AutoCommit enabled at /usr/bin/zmfilter.pl line 402.

Post by MathieuMD »

Thanks!
Post Reply