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

--- Comment #60 from Marcel de Rooy <[email protected]> ---
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 <[email protected]>
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to