@@ -, +, @@ sysprefs.sql --- installer/data/mysql/updatedatabase.pl | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) --- a/installer/data/mysql/updatedatabase.pl +++ a/installer/data/mysql/updatedatabase.pl @@ -8613,6 +8613,16 @@ if ( CheckVersion($DBversion) ) { SetVersion($DBversion); } + +$DBversion = '3.17.00.XXX'; +if ( CheckVersion($DBversion) ) { + $dbh->do(qq{ + INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES('StatisticsFields','location|itype|ccode','Define fields (from the items table) used for statistics members',NULL,'Free') + }); + print "Upgrade to $DBversion done (Bug 12728: Checked syspref StatisticsFields)\n"; + SetVersion($DBversion); +} + =head1 FUNCTIONS =head2 TableExists($table) --