Updated for version 1.23.3
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2358 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
parent
799ee78675
commit
132772f5d3
|
@ -1,4 +1,4 @@
|
|||
AC_INIT(zm,1.23.2,support@zoneminder.com,ZoneMinder)
|
||||
AC_INIT(zm,1.23.3,support@zoneminder.com,ZoneMinder)
|
||||
AC_CONFIG_SRCDIR(src/zm.h)
|
||||
AM_INIT_AUTOMAKE
|
||||
AM_CONFIG_HEADER(config.h)
|
||||
|
|
|
@ -34,4 +34,5 @@ EXTRA_DIST = \
|
|||
zm_update-1.22.2.sql \
|
||||
zm_update-1.22.3.sql \
|
||||
zm_update-1.23.0.sql \
|
||||
zm_update-1.23.1.sql
|
||||
zm_update-1.23.1.sql \
|
||||
zm_update-1.23.2.sql
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
--
|
||||
-- This updates a 1.23.2 database to 1.23.3
|
||||
--
|
||||
|
||||
--
|
||||
-- Rename and fix typo version of PurgeWhenFull
|
||||
--
|
||||
update Filters set Query = 'a:4:{s:5:"terms";a:2:{i:0;a:3:{s:3:"val";s:1:"0";s:4:"attr";s:8:"Archived";s:2:"op";s:1:"=";}i:1;a:4:{s:3:"cnj";s:3:"and";s:3:"val";s:2:"95";s:4:"attr";s:11:"DiskPercent";s:2:"op";s:2:">=";}}s:10:"sort_field";s:2:"Id";s:8:"sort_asc";s:1:"1";s:5:"limit";s:1:"5";}' where Name = "PurgeWhenFull" and Query = 'a:4:{s:5:"terms";a:2:{i:0;a:3:{s:3:"val";s:1:"0";s:4:"attr";s:8:"Archived";s:2:"op";s:1:"=";}i:1;a:4:{s:3:"cnj";s:3:"and";s:3:"val";s:2:"95";s:4:"attr";s:11:"DiskPercent";s:2:"op";s:2:">=";}}s:10:"sort_field";s:2:"Id";s:8:"sort_asc";s:1:"1";s:5:"limit";s:2:"5";}';
|
||||
|
||||
--
|
||||
-- These are optional, but we might as well do it now
|
||||
--
|
||||
optimize table Frames;
|
||||
optimize table Events;
|
||||
optimize table Filters;
|
||||
optimize table Zones;
|
||||
optimize table Monitors;
|
||||
optimize table Stats;
|
|
@ -774,6 +774,12 @@ if ( $version )
|
|||
patchDB( $dbh, "1.23.1" );
|
||||
$cascade = !undef;
|
||||
}
|
||||
if ( $cascade || $version eq "1.23.2" )
|
||||
{
|
||||
# Patch the database
|
||||
patchDB( $dbh, "1.23.2" );
|
||||
$cascade = !undef;
|
||||
}
|
||||
if ( $cascade )
|
||||
{
|
||||
my $installed_version = ZM_VERSION;
|
||||
|
|
Loading…
Reference in New Issue