Files
zoneminder/db
Isaac Connor 34f9b1e490 fix: convert zone threshold columns to DECIMAL before running conversion procedure
The migration procedure computed correct sub-1.0 percentage values
(e.g. 3000 pixels → 0.26%) but the ALTER TABLE that changed the
columns from INT to DECIMAL(10,2) ran *after* the conversion. MySQL
silently truncated values like 0.26 to 0 when storing into INT
columns, zeroing out MinAlarmPixels, MinFilterPixels, MinBlobPixels,
MaxAlarmPixels, MaxFilterPixels, and MaxBlobPixels for all zones.

Move the ALTER TABLE statements before the CALL so the columns can
hold decimal values when the UPDATE writes them.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13 17:31:04 -04:00
..
2026-01-24 11:24:56 -05:00
2013-12-24 11:07:27 +00:00
2026-01-24 11:16:07 -05:00
2023-03-22 13:28:35 -04:00
2013-03-17 00:45:21 +01:00
2013-03-17 00:45:21 +01:00
2013-03-17 00:45:21 +01:00
2013-03-17 00:45:21 +01:00
2013-03-17 00:45:21 +01:00
2013-03-17 00:45:21 +01:00
2013-03-17 00:45:21 +01:00
2013-03-17 00:45:21 +01:00
2013-03-17 00:45:21 +01:00
2013-03-17 00:45:21 +01:00
2013-03-17 00:45:21 +01:00
2013-03-17 00:45:21 +01:00
2013-03-17 00:45:21 +01:00
2013-03-17 00:45:21 +01:00
2013-03-17 00:45:21 +01:00
2013-03-17 00:45:21 +01:00
2013-03-17 00:45:21 +01:00
2013-03-17 00:45:21 +01:00
2013-03-17 00:45:21 +01:00
2013-03-17 00:45:21 +01:00
2013-03-17 00:45:21 +01:00
2013-03-17 00:45:21 +01:00
2013-03-17 00:45:21 +01:00
2013-03-17 00:45:21 +01:00
2013-03-17 00:45:21 +01:00
2013-03-17 00:45:21 +01:00
2013-03-17 00:45:21 +01:00
2013-03-17 00:45:21 +01:00
2013-03-17 00:45:21 +01:00
2013-03-17 00:45:21 +01:00
2013-03-17 00:45:21 +01:00
2013-03-17 00:45:21 +01:00
2013-03-17 00:45:21 +01:00
2013-03-17 00:45:21 +01:00
2013-03-17 00:45:21 +01:00
2013-03-17 00:45:21 +01:00
2013-03-17 00:45:21 +01:00
2013-03-17 00:45:21 +01:00
2013-03-17 00:45:21 +01:00
2013-03-17 00:45:21 +01:00
2014-10-18 15:23:13 -05:00
2016-01-01 10:15:36 -06:00
2016-05-31 19:41:17 -05:00
2017-05-02 13:25:56 -05:00
2017-05-09 09:54:48 -05:00
2020-11-23 19:31:21 -05:00
2017-10-03 13:28:56 -07:00
2020-11-23 19:33:53 -05:00
2017-10-16 08:30:28 -07:00
2017-11-26 15:08:12 -05:00
2018-02-18 11:01:33 -05:00
2018-01-19 13:29:45 -05:00
2018-01-19 12:17:42 -05:00
2018-01-24 12:16:18 -05:00
2018-02-05 22:59:37 -05:00
2018-02-18 11:29:22 -05:00
2018-09-12 07:27:45 -05:00
2018-10-02 07:37:55 -05:00
2018-10-13 13:36:15 -05:00
2018-12-12 09:17:14 -05:00
2019-05-13 14:48:26 -04:00
2024-04-08 09:50:12 -04:00
2020-02-04 16:47:33 -05:00
2020-02-19 13:50:27 -05:00
2020-03-06 14:52:38 -05:00
2020-03-26 15:34:36 -04:00
2020-03-04 10:15:44 -05:00
2020-05-12 15:46:07 -04:00
2020-10-02 14:49:59 -04:00
2021-01-27 09:58:55 -05:00
2021-04-23 14:52:29 -04:00
2021-07-07 09:45:53 -04:00
2022-01-10 09:07:59 -05:00
2022-01-10 23:22:37 -06:00
2022-01-22 12:30:59 -05:00
2022-12-24 09:18:04 -05:00
2023-02-25 12:44:28 -05:00
2025-09-24 09:53:11 -04:00