[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:21:12 CEST 2022


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

--- Comment #61 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
This latter change could have been backported since it actually resolves a
problem that existed in Koha since we introduced DBIx::RunSQL.
DBIx::RunSQL just silently ignore the first lines in kohastructure.sql that are
dependent on version:

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0
*/;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

I wonder if we should remove them from this sql file now, since they are
misleading! They are never executed.

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


More information about the Koha-bugs mailing list