]> git.koha-community.org Git - koha.git/commit
Bug 28489: Modify sessions.a_session from longtext to longblob
authorJulian Maurice <julian.maurice@biblibre.com>
Wed, 2 Jun 2021 14:05:17 +0000 (16:05 +0200)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 18 Jun 2021 11:25:42 +0000 (07:25 -0400)
commitd2cadb99e9ab330625aa8245b5742196f8189b9e
tree55879015fe0a91a0695b3d5a24896d98ba5301b8
parent5079a9cb663963f29e1ebb7f91431df6794d6f3e
Bug 28489: Modify sessions.a_session from longtext to longblob

This column contains serialized data, it should be a blob.
And it fixes encoding issues.

Test plan:
1. Apply patch and run updatedatabase
2. In $KOHA_CONF make sure that you have
   <strict_sql_modes>0</strict_sql_modes>
3. Create 2 libraries:
  a. TESTÄ/Testä
  b. TEST✓/Test✓
4. Go to the staff interface, change your library to Testä, then
   navigate to a few other pages, make sure there is no encoding problem
   with the library name in the top right corner
5. Do the same with Test✓

Signed-off-by: Petro Vashchuk <stalkernoid@gmail.com>
Signed-off-by: Andrew Nugged <nugged@gmail.com>
Signed-off-by: David Cook <dcook@prosentient.com.au>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
installer/data/mysql/atomicupdate/sessions-from-longtext-to-longblob.perl [new file with mode: 0644]