[Koha-bugs] [Bug 26947] kohastructure.sql should be updated for each release

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 26 13:18:21 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26947

--- Comment #60 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Ha, stumbled over this report again now.
Why does 20.11 not accept my change in kohastructure, and why does master do?

commit affa3164eb475ff09654c690c9df810be8dc670f
Author: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Date:   Wed Nov 18 17:08:11 2020 +0000
    Bug 26947: (follow-up) Set key checks to disabled for kohastructure

+    # Disable checks before load
+    $self->{'dbh'}->do(q{SET NAMES utf8mb4});
+    $self->{'dbh'}->do(q{SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS,
UNIQUE_CHECKS=0});
+    $self->{'dbh'}->do(q{SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS,
FOREIGN_KEY_CHECKS=0});
+    $self->{'dbh'}->do(q{SET @OLD_SQL_MODE=@@SQL_MODE,
SQL_MODE='NO_AUTO_VALUE_ON_ZERO'});
+    $self->{'dbh'}->do(q{SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0});

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list