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

(-)a/installer/data/mysql/kohastructure.sql (-1 / +1 lines)
Lines 1982-1988 CREATE TABLE `serial` ( -- issues related to subscriptions Link Here
1982
DROP TABLE IF EXISTS sessions;
1982
DROP TABLE IF EXISTS sessions;
1983
CREATE TABLE sessions (
1983
CREATE TABLE sessions (
1984
  `id` varchar(32) NOT NULL,
1984
  `id` varchar(32) NOT NULL,
1985
  `a_session` text NOT NULL,
1985
  `a_session` mediumtext NOT NULL,
1986
  PRIMARY KEY (`id`)
1986
  PRIMARY KEY (`id`)
1987
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
1987
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
1988
1988
(-)a/installer/data/mysql/updatedatabase.pl (-1 / +8 lines)
Lines 9978-9983 if ( CheckVersion($DBversion) ) { Link Here
9978
    SetVersion($DBversion);
9978
    SetVersion($DBversion);
9979
}
9979
}
9980
9980
9981
$DBversion = "3.19.00.XXX";
9982
if ( CheckVersion($DBversion) ) {
9983
    $dbh->do(q|
9984
         ALTER TABLE sessions CHANGE COLUMN a_session a_session MEDIUMTEXT
9985
    |);
9986
    print "Upgrade to $DBversion done (Bug 13606: Upgrade sessions.a_session to MEDIUMTEXT)\n";
9987
    SetVersion($DBversion);
9988
}
9981
9989
9982
# DEVELOPER PROCESS, search for anything to execute in the db_update directory
9990
# DEVELOPER PROCESS, search for anything to execute in the db_update directory
9983
# SEE bug 13068
9991
# SEE bug 13068
9984
- 

Return to bug 13606