Add Locking to filters, bump db to 1.35.12.
This commit is contained in:
parent
858674c0b2
commit
86bf491fe1
|
@ -0,0 +1,18 @@
|
||||||
|
--
|
||||||
|
-- Update Filters table to have a LockRows Column
|
||||||
|
--
|
||||||
|
|
||||||
|
SELECT 'Checking for LockRows in Filters';
|
||||||
|
SET @s = (SELECT IF(
|
||||||
|
(SELECT COUNT(*)
|
||||||
|
FROM INFORMATION_SCHEMA.COLUMNS
|
||||||
|
WHERE table_name = 'Filters'
|
||||||
|
AND table_schema = DATABASE()
|
||||||
|
AND column_name = 'LockRows'
|
||||||
|
) > 0,
|
||||||
|
"SELECT 'Column LockRows already exists in Filters'",
|
||||||
|
"ALTER TABLE Filters ADD COLUMN `LockRows` tinyint(1) unsigned NOT NULL default '0' AFTER `Concurrent`"
|
||||||
|
));
|
||||||
|
|
||||||
|
PREPARE stmt FROM @s;
|
||||||
|
EXECUTE stmt;
|
|
@ -28,7 +28,7 @@
|
||||||
%global _hardened_build 1
|
%global _hardened_build 1
|
||||||
|
|
||||||
Name: zoneminder
|
Name: zoneminder
|
||||||
Version: 1.35.11
|
Version: 1.35.12
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: A camera monitoring and analysis tool
|
Summary: A camera monitoring and analysis tool
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
|
|
Loading…
Reference in New Issue