View | Details | Raw Unified | Return to bug 30620
Collapse All | Expand All

(-)a/C4/Installer.pm (+1 lines)
Lines 285-290 sub load_db_schema { Link Here
285
    my $datadir = C4::Context->config('intranetdir') . "/installer/data/$self->{dbms}";
285
    my $datadir = C4::Context->config('intranetdir') . "/installer/data/$self->{dbms}";
286
286
287
    # Disable checks before load
287
    # Disable checks before load
288
    # NOTE: These lines are found in kohastructure itself, but DBIx::RunSQL ignores them!
288
    $self->{'dbh'}->do(q{SET NAMES utf8mb4});
289
    $self->{'dbh'}->do(q{SET NAMES utf8mb4});
289
    $self->{'dbh'}->do(q{SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0});
290
    $self->{'dbh'}->do(q{SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0});
290
    $self->{'dbh'}->do(q{SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0});
291
    $self->{'dbh'}->do(q{SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0});
(-)a/installer/data/mysql/kohastructure.sql (-1 / +5 lines)
Lines 4-9 Link Here
4
-- ------------------------------------------------------
4
-- ------------------------------------------------------
5
-- Server version	10.6.5-MariaDB-1:10.6.5+maria~focal
5
-- Server version	10.6.5-MariaDB-1:10.6.5+maria~focal
6
6
7
-- IMPORTANT NOTE:
8
-- The lines with /*! are silently IGNORED when the web installer runs this
9
-- file (in C4::Installer, using DBIx::RunSQL).
10
-- The lines only work when you run this sql script directly with mysql.
11
7
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
12
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
8
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
13
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
9
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
14
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
10
- 

Return to bug 30620